/* Foundations: a quiet monochrome system, with images supplying future color. */
:root {
  --bg: #fff;
  --text: #171717;
  --muted: #666;
  --line: #d8d8d8;
  --accent: #5a1f3d;
  --accent-soft: #f4eef1;
  --max-width: 1600px;
  --gutter: clamp(24px, 3.05vw, 56px);
  --section-space: clamp(88px, 10vw, 160px);
  --display: 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, 'Apple SD Gothic Neo', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { background: var(--accent); color: var(--bg); }
.page-width { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 30; top: -100px; left: 24px; padding: 14px; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 12px; }
.small-label, .section-index, .section-note, .project-number, .project-meta { font: 10px/1.6 var(--mono); }
.text-link { color: var(--accent); display: inline-flex; align-items: center; justify-content: space-between; position: relative; gap: 28px; min-height: 44px; font: 400 11px/1.5 var(--mono); white-space: nowrap; }
.text-link::after { content: ''; position: absolute; left: 0; right: 34px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); }
.arrow { display: inline-block; font: 24px/1 Arial, sans-serif; transition: transform .3s; }
.text-link:hover .arrow { transform: translate(4px, 0); }
.text-link:hover .down { transform: translateY(4px); }
.text-link:hover .up { transform: translateY(-4px); }
.placeholder { position: relative; overflow: hidden; background: #dedede; }
.placeholder-cross { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); font: 24px/1 Arial; color: #858585; }
.image-label, .image-caption { position: absolute; left: 24px; font: 9px/1.6 var(--mono); color: #606060; }
.image-label { top: 20px; }
.image-caption { bottom: 20px; }
/* Navigation: distributed links rather than a large header bar. */
.navigation { position: fixed; inset: 0 0 auto; z-index: 10; height: 76px; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: #fffffff2; backdrop-filter: blur(10px); transition: height .3s; }
.navigation.scrolled { height: 62px; }
.wordmark { font: 700 12px/1 var(--display); letter-spacing: -.6px; white-space: nowrap; }
.navigation nav { width: 68%; max-width: 1000px; display: flex; justify-content: space-between; gap: 24px; }
.navigation nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; font: 400 11px/1 var(--mono); }
.navigation nav a::after { position: absolute; content: ''; bottom: 9px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.navigation nav a:hover::after, .navigation nav a[aria-current]::after { transform: scaleX(1); }
/* Hero: image strip above, a single-line name anchored near the bottom. */
.hero { min-height: 100svh; padding-top: 86px; padding-bottom: 24px; display: flex; flex-direction: column; container-type: inline-size; }
.hero-work-strip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) #ededed;
}
.hero-work-strip:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.hero-work-strip::-webkit-scrollbar { height: 6px; }
.hero-work-strip::-webkit-scrollbar-track { background: #ededed; }
.hero-work-strip::-webkit-scrollbar-thumb { background: var(--accent); }
/* Images grow on desktop; keep their own widths rather than fitting all seven. */
.hero-work { flex: 0 0 clamp(220px, 22vw, 380px); min-width: 0; display: block; scroll-snap-align: start; }
.hero-work-image { width: 100%; aspect-ratio: 2 / 3; transition: filter .3s; }
.hero-work-portrait .hero-work-image { aspect-ratio: 4 / 5; background: #d2d2d2; }
.hero-work-wide .hero-work-image { aspect-ratio: 3 / 2; background: #e8e8e8; }
.hero-work .image-label { left: 10px; top: 10px; font-size: 8px; }
.hero-work .placeholder-cross { font-size: 17px; }
.hero-work-title, .hero-work-category { display: block; font: bold 10px/1.4 var(--mono); margin-top: 10px; overflow-wrap: anywhere; }
.hero-work-category { font-weight: 400; margin-top: 1px; }
.hero-work:hover .hero-work-image { filter: brightness(.94); }
.hero-name { margin-top: auto; padding-top: clamp(100px, 13vh, 220px); }
.hero h1 { font: 700 13.8cqw/.94 var(--display); letter-spacing: -.085em; white-space: nowrap; margin-left: -.012em; }
.hero-bottom, .contact-topline { display: flex; justify-content: space-between; gap: 24px; font: 9px/1.6 var(--mono); }
.hero-bottom { display: flex; align-items: center; margin-top: 38px; }
.hero-edition { flex: 1; font-size: 9px; }
.hero-description { flex: 1; text-align: left; font: 10px/1.5 var(--mono); }
.hero-intro { margin-top: 5px; font: 11px/1.6 Arial, sans-serif; color: var(--muted); }
.hero-bottom > .text-link { justify-content: end; }
/* Selected Works: a consistent grid with different image / information placements. */
.works { padding-top: 54px; padding-bottom: var(--section-space); }
.section-heading { padding-left: 0; margin-bottom: 48px; }
.section-index { align-self: start; padding-top: 6px; }
.section-heading h2 { font: 700 clamp(50px, 6.4vw, 98px)/.88 var(--display); letter-spacing: -.07em; }
.section-note { color: var(--muted); text-align: right; font-size: 9px; padding-bottom: 5px; }
.project { scroll-margin-top: 90px; }
.project-image { display: block; position: relative; overflow: hidden; }
.image-surface { width: 100%; height: 100%; transition: transform .5s ease; }
.image-surface img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-image:hover .image-surface, .project-image:focus-visible .image-surface { transform: scale(1.025); }
.project-one .project-image { aspect-ratio: 1.82; }
.project-info { display: grid; grid-template-columns: 45px 1fr 26% auto; align-items: start; gap: 24px; padding-top: 23px; }
.project-copy h3 { font: 700 23px/1.2 var(--display); letter-spacing: -.8px; }
.project-copy p, .project-intro p { font-size: 11px; color: var(--muted); line-height: 1.8; margin-top: 10px; }
.project-meta { display: flex; flex-direction: column; gap: 4px; font-size: 9px; }
.project-info > .text-link { margin-top: -10px; }
.image-hover { position: absolute; right: 24px; bottom: 20px; background: var(--accent); color: var(--bg); padding: 12px 16px; font: 10px var(--mono); opacity: 0; transform: translateY(5px); transition: opacity .3s, transform .3s; }
.project-image:hover .image-hover, .project-image:focus-visible .image-hover { opacity: 1; transform: translateY(0); }
.project-two { display: grid; grid-template-columns: 34% 1fr; align-items: center; gap: 7%; margin-block: var(--section-space); }
.project-two .project-image { aspect-ratio: 1.03; }
.project-two .image-surface { background: #d0d0d0; }
.project-intro { padding-left: 12%; }
.project-intro h3 { margin-top: 28px; font: 700 clamp(26px, 3.3vw, 52px)/.95 var(--display); letter-spacing: -.06em; }
.project-intro .project-meta { margin-top: 25px; }
.project-intro .text-link { margin-top: 26px; }
.project-three { width: 84%; }
.project-three .project-image { aspect-ratio: 1.55; }
.project-three .image-surface { background: #e5e5e5; }
.project-three .project-info { grid-template-columns: 35px 1fr auto; }
.project-three .project-copy { text-align: right; }
.project-three .project-meta { grid-column: 2; text-align: right; }
.project-three .text-link { grid-column: 3; grid-row: 1 / 3; }
/* About: large editable statement paired with compact facts and tools. */
.about { padding-top: clamp(120px, 12vw, 200px); padding-bottom: var(--section-space); }
.about .section-heading { margin-bottom: 65px; }
.about-layout { display: grid; grid-template-columns: 1fr 34%; gap: 10%; padding-left: 0; }
.about-statement p { margin-top: 0; font-size: clamp(30px, 3.5vw, 54px); line-height: 1.4; letter-spacing: -.06em; font-weight: 400; }
.about-details { padding-top: 3px; }
.about-bio { font-size: 12px; line-height: 1.8; }
.about-details dl { margin-top: 35px; }
.about-details dl > div + div { margin-top: 25px; }
.about-details dt, .tools h3 { font: 10px/1.5 var(--mono); }
.about-details dd { margin-top: 8px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.tools { margin-top: 35px; }
.tools ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; list-style: none; padding: 0; margin-top: 15px; font: 10px/1.5 var(--mono); }
/* Contact + Footer: strong black/white ending with direct typography links. */
.contact { background: var(--accent); color: var(--bg); padding-top: 35px; }
.contact-topline { color: #bdbdbd; }
.contact-layout { display: grid; grid-template-columns: 1fr 24%; gap: 8%; align-items: end; padding-block: 65px 75px; }
.contact :is(h1, h2) { font: 700 clamp(68px, 9.9vw, 154px)/.88 var(--display); letter-spacing: -.075em; }
.contact-links { display: flex; flex-direction: column; align-items: start; gap: 20px; padding-bottom: 5px; }
.contact-links .text-link { min-width: 180px; }
.email-link { flex-wrap: wrap; }
.email-link small { flex-basis: 100%; font-size: 10px; color: #bdbdbd; font-weight: 400; }
.email-link::after { bottom: 22px; }
footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ffffff40; padding-block: 17px; font: 10px var(--mono); }
footer .text-link { font-size: 10px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 25px; padding: 15px 22px; background: var(--text); color: var(--bg); border: 1px solid #777; width: max-content; max-width: calc(100vw - 32px); font-size: 12px; line-height: 1.7; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
/* Case study placeholders: shared layout, no invented project claims. */
.case-main { padding-top: 135px; padding-bottom: 90px; min-height: calc(100svh - 80px); }
.case-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 35px 0 40px; }
.case-heading h1 { font: 700 clamp(32px, 5.4vw, 80px)/1 var(--display); letter-spacing: -.065em; }
.case-cover { aspect-ratio: 1.85; }
.case-message { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.case-message p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.case-message .text-link { justify-self: end; align-self: start; }
.case-footer { margin-top: 70px; }
/* Reveal is progressive: all content is visible if JavaScript is unavailable. */
.motion-enabled .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.motion-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .project-info { grid-template-columns: 25px 1fr auto; gap: 16px; }
  .project-info .project-meta { grid-column: 2; }
  .project-info > .text-link { grid-column: 3; grid-row: 1/3; }
  .about-layout { padding-left: 0; gap: 7%; grid-template-columns: 1fr 40%; }
  .contact-layout { grid-template-columns: 1fr 28%; gap: 4%; }
  .contact-links .text-link { min-width: 150px; }
}
/* Mobile: one-column work, deliberate type wrapping, comfortable touch targets. */
@media (max-width: 768px) {
  :root { --gutter: 22px; --section-space: 85px; }
  html { scroll-padding-top: 85px; }
  .navigation, .navigation.scrolled { height: 68px; gap: 15px; }
  .wordmark { font-size: 9px; letter-spacing: -.5px; }
  .navigation nav { width: auto; flex: 1; max-width: 275px; gap: 10px; }
  .navigation nav a { font-size: 9px; gap: 0; }
  .navigation nav a > span { display: none; }
  .hero { min-height: 100svh; padding-top: 86px; padding-bottom: 20px; }
  .hero-work-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; scroll-snap-type: x proximity; }
  .hero-work { flex: 0 0 135px; scroll-snap-align: start; }
  .hero-work-title, .hero-work-category { font-size: 9px; }
  .hero-name { padding-top: 100px; }
  .hero h1 { font-size: 13.8cqw; }
  .hero-bottom { display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-top: 30px; align-items: center; }
  .hero-description { text-align: left; font-size: 9px; }
  .hero-intro { font-size: 10px; }
  .hero-edition { font-size: 8px; }
  .hero-bottom > .text-link { font-size: 9px; gap: 14px; }
  .works { padding-top: 40px; }
  .section-heading { padding-left: 0; margin-bottom: 30px; }
  .section-index { grid-column: 1/-1; font-size: 9px; padding: 0; }
  .section-heading h2 { font-size: clamp(44px, 12.5vw, 80px); }
  .section-note { font-size: 7px; max-width: 130px; }
  .project-one .project-image { aspect-ratio: 1.12; }
  .image-label, .image-caption { font-size: 8px; left: 14px; }
  .image-label { top: 14px; }
  .image-caption { bottom: 14px; }
  .project-info { grid-template-columns: 22px 1fr; gap: 12px; padding-top: 18px; }
  .project-number { font-size: 9px; }
  .project-copy h3 { font-size: 19px; }
  .project-copy p, .project-intro p { font-size: 10px; }
  .project-info .project-meta { grid-column: 2; flex-direction: row; gap: 22px; font-size: 8px; }
  .project-info > .text-link { grid-column: 2; justify-self: start; margin: 0; font-size: 10px; }
  .project-two { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 22px; }
  .project-two .project-image { width: 90%; align-self: end; aspect-ratio: .91; }
  .project-intro { padding-left: 10%; }
  .project-intro h3 { font-size: 27px; margin-top: 16px; }
  .project-intro h3 br, .project-intro p br { display: none; }
  .project-intro .project-meta { margin-top: 16px; flex-direction: row; gap: 20px; font-size: 8px; }
  .project-intro .text-link { margin-top: 10px; font-size: 10px; }
  .project-three { width: 100%; }
  .project-three .project-image { aspect-ratio: 1.13; }
  .project-three .project-info { grid-template-columns: 22px 1fr; }
  .project-three .project-copy, .project-three .project-meta { text-align: left; }
  .project-three .text-link { grid-column: 2; grid-row: auto; }
  .image-hover { display: none; }
  .about { padding-top: 96px; }
  .about .section-heading { margin-bottom: 35px; }
  .about-layout { grid-template-columns: 1fr; padding: 0; gap: 35px; }
  .about-statement p { font-size: clamp(30px, 8.8vw, 50px); margin-top: 0; }
  .about-details { padding-left: 12%; }
  .about-bio { font-size: 11px; }
  .about-details dl { margin-top: 25px; }
  .tools ul { gap: 10px; }
  figcaption { font-size: 9px; }
  .contact { padding-top: 25px; }
  .contact-topline { font-size: 8px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; padding-block: 45px 50px; }
  .contact :is(h1, h2) { font-size: clamp(54px, 12.8vw, 95px); }
  .contact-links { gap: 15px; padding: 0; }
  .contact-links .text-link { min-width: 180px; }
  footer { font-size: 8px; gap: 10px; }
  footer .text-link { font-size: 8px; gap: 12px; }
  .toast { font-size: 11px; bottom: 16px; }
  .case-main { padding-top: 110px; padding-bottom: 40px; }
  .case-heading { display: block; margin-top: 25px; }
  .case-heading .project-meta { margin-top: 18px; flex-direction: row; gap: 20px; }
  .case-cover { aspect-ratio: 1.1; }
  .case-message { grid-template-columns: 1fr; gap: 20px; }
  .case-message .text-link { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .motion-enabled .reveal { opacity: 1; transform: none; }
}

/* Wine accent: keep image areas neutral and focus color on navigation and actions. */
.navigation nav a[aria-current], .navigation nav a:hover, .wordmark:hover { color: var(--accent); }
.contact .text-link { color: #fff; }
.contact ::selection { background: #fff; color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.contact a:focus-visible { outline-color: #fff; }
/* Work overview: varied image ratios, quiet captions, direct case-study links. */
.work-gallery { padding-top: 76px; padding-bottom: var(--section-space); }
.gallery-heading { text-align: center; margin-bottom: 44px; }
.gallery-heading :is(h1, h2) { color: var(--accent); font: 700 clamp(28px, 3vw, 44px)/1.1 var(--display); letter-spacing: -.055em; }
.gallery-switch { display: inline-flex; align-items: center; gap: 4px; margin-top: 15px; font: 11px var(--mono); color: var(--muted); }
.gallery-switch button { appearance: none; border: 0; border-radius: 0; background: transparent; color: var(--muted); padding: 0 10px; min-height: 44px; cursor: pointer; font: 400 11px var(--mono); text-underline-offset: 5px; }
.gallery-switch button[aria-pressed="true"] { color: var(--accent); text-decoration: underline; }
.gallery-switch button:hover { color: var(--accent); }
.work-gallery-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 18px; align-items: start; }
.gallery-item, .gallery-link { min-width: 0; }
.gallery-link { display: block; }
.gallery-image { width: 100%; aspect-ratio: 2 / 3; overflow: hidden; }
.gallery-image::before { content: ''; position: absolute; inset: 0; background: #ffffff00; transition: background .35s; }
.gallery-item-landscape .gallery-image { aspect-ratio: 3 / 2; background: #e7e7e7; }
.gallery-item-square .gallery-image { aspect-ratio: 4 / 5; background: #d0d0d0; }
.gallery-hover { position: absolute; right: 16px; bottom: 16px; background: var(--accent); color: #fff; padding: 11px 14px; font: 10px var(--mono); opacity: 0; transform: translateY(6px); transition: transform .3s, opacity .3s; }
.gallery-link:hover .gallery-image::before { background: #ffffff22; }
.gallery-link:hover .gallery-hover, .gallery-link:focus-visible .gallery-hover { opacity: 1; transform: translateY(0); }
.gallery-caption { display: grid; grid-template-columns: 22px 1fr auto; gap: 5px 10px; padding-top: 14px; font: 10px/1.5 var(--mono); }
.gallery-caption :is(h2, h3) { font: bold 12px/1.4 var(--mono); overflow-wrap: anywhere; transition: color .25s; }
.gallery-number { color: var(--accent); }
.gallery-category { grid-column: 2; color: var(--muted); }
.gallery-year { grid-column: 3; grid-row: 1; color: var(--muted); }
.gallery-arrow { grid-column: 3; grid-row: 2; justify-self: end; color: var(--accent); font: 18px Arial; transition: transform .25s; }
.gallery-link:hover :is(h2, h3) { color: var(--accent); }
.gallery-link:hover .gallery-arrow { transform: translate(3px, -3px); }
/* LIST uses the same projects and links; only presentation changes. */
.work-gallery-items[data-view="list"] { display: flex; flex-direction: column; gap: 0; }
.work-gallery-items[data-view="list"] .gallery-item { width: 100%; border-top: 1px solid var(--line); }
.work-gallery-items[data-view="list"] .gallery-item:last-child { border-bottom: 1px solid var(--line); }
.work-gallery-items[data-view="list"] .gallery-link { display: grid; grid-template-columns: 150px 1fr; gap: 32px; align-items: center; padding-block: 22px; }
.work-gallery-items[data-view="list"] .gallery-image { aspect-ratio: 3 / 2; }
.work-gallery-items[data-view="list"] .gallery-caption { grid-template-columns: 40px 1fr 180px 100px 24px; align-items: center; gap: 20px; padding: 0; }
.work-gallery-items[data-view="list"] .gallery-caption :is(h2, h3) { font-size: 18px; }
.work-gallery-items[data-view="list"] .gallery-category, .work-gallery-items[data-view="list"] .gallery-year, .work-gallery-items[data-view="list"] .gallery-arrow { grid-column: auto; grid-row: auto; }
@media (max-width: 1024px) {
  .work-gallery-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-gallery-items[data-view="list"] .gallery-caption { grid-template-columns: 24px 1fr auto; gap: 10px; }
  .work-gallery-items[data-view="list"] .gallery-category { grid-column: 2; }
  .work-gallery-items[data-view="list"] .gallery-year { grid-column: 3; grid-row: 1; }
  .work-gallery-items[data-view="list"] .gallery-arrow { grid-column: 3; grid-row: 2; }
}
@media (max-width: 768px) {
  .work-gallery { padding-top: 55px; }
  .gallery-heading { margin-bottom: 28px; }
  .work-gallery-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .gallery-caption { grid-template-columns: 18px 1fr; gap: 5px; font-size: 8px; }
  .gallery-caption :is(h2, h3) { font-size: 10px; }
  .gallery-year { grid-column: 2; grid-row: 3; }
  .gallery-arrow { grid-column: 1; grid-row: 2; font-size: 15px; }
  .gallery-hover { display: none; }
  .work-gallery-items[data-view="list"] .gallery-link { grid-template-columns: 90px 1fr; gap: 16px; padding-block: 18px; }
  .work-gallery-items[data-view="list"] .gallery-caption :is(h2, h3) { font-size: 12px; }
  .work-gallery-items[data-view="list"] .gallery-caption { grid-template-columns: 18px 1fr auto; gap: 8px; }
}
@media (max-width: 359px) { .work-gallery-items { grid-template-columns: 1fr; } }

/* Project descriptions: readable case-study fields, ready for real content. */
.case-details { margin-top: 90px; }
.case-section { display: grid; grid-template-columns: 30% 1fr; gap: 40px; border-top: 1px solid var(--line); padding-block: 36px 65px; }
.case-section h2 { color: var(--accent); font: 700 24px/1.2 var(--display); letter-spacing: -.04em; }
.case-section p, .case-facts dd { font-size: 14px; line-height: 1.9; color: var(--muted); }
.case-facts { display: flex; gap: 70px; margin-top: 30px; }
.case-facts dt { font: 11px var(--mono); margin-bottom: 10px; }
.case-footer { border-color: var(--line); }
@media (max-width: 768px) {
  .case-details { margin-top: 55px; }
  .case-section { grid-template-columns: 1fr; gap: 22px; padding-block: 28px 40px; }
  .case-section h2 { font-size: 21px; }
  .case-section p, .case-facts dd { font-size: 12px; }
  .case-facts { gap: 40px; }
}
/* Land directly below the fixed nav, without showing the previous section. */
.work-gallery { scroll-margin-top: -38px; }
@media (max-width: 768px) { .work-gallery { scroll-margin-top: -17px; } }

/* Separate destinations: home ends with About; gallery and contact open from nav. */
.works-page .work-gallery { padding-top: 135px; min-height: calc(100svh - 80px); }
.contact-page .contact { padding-top: 110px; min-height: 100svh; }
.site-footer { border-color: var(--line); }
@media (max-width: 768px) {
  .works-page .work-gallery { padding-top: 110px; }
  .contact-page .contact { padding-top: 90px; }
}

/* Shared contact footer on home, gallery, and individual project pages. */
.contact-footer { display: block; border: 0; padding-bottom: 0; font-family: Arial, 'Apple SD Gothic Neo', sans-serif; }
.contact-footer .contact-links .text-link { font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #ffffff40; padding-block: 17px; font: 10px var(--mono); }
.footer-bottom .text-link { font-size: 10px; }
@media (max-width: 768px) {
  .footer-bottom { gap: 10px; font-size: 8px; }
  .footer-bottom .text-link { font-size: 8px; }
}
