/* Guesty Media: studio portfolio
   Theme is locked dark on purpose. The brand ships on black and the work supplies the colour.
   Shape system: all-sharp (radius 0). One type family, Archivo variable, width axis does the display work. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --fg: #f1f1ee;
  --fg-2: #a3a39e;
  --fg-3: #6b6b67;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --nav-h: 72px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1400px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-stretch: 100%;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button, .btn, .link, .nav__links a, .menu a, .footer__links a { touch-action: manipulation; user-select: none; -webkit-user-select: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 110; padding: 12px 16px; background: var(--fg); color: var(--bg); font-weight: 600; transform: translateY(-200%); }
.skip:focus-visible { transform: none; outline-offset: 2px; }
main > section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
@media (pointer: fine) { html { overscroll-behavior: none; } }

/* Type scale */
.h-display {
  font-stretch: 112%;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-wrap: balance;
}
.h-section {
  font-stretch: 112%;
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  text-wrap: balance;
}
.h-item {
  font-stretch: 108%;
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.05;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--fg-2); max-width: 52ch; text-wrap: pretty; }
.muted { color: var(--fg-2); }

/* Grain: fixed, non-interactive, cheap */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em; line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--light { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--ghost { color: var(--fg); border-color: var(--line-2); }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #d9d9d4; border-color: #d9d9d4; }
  .btn--ghost:hover { border-color: var(--fg); }
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.95rem;
  position: relative;
  min-height: 44px; margin-block: -10px;
}
.link svg { width: 15px; height: 15px; fill: currentColor; transition: transform 200ms var(--ease-out); }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover::after { transform: scaleX(1); }
  .link:hover svg { transform: translate(2px, -2px); }
}

/* Intro: once per session, under 1.4s, skipped under reduced motion */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
  transform: translateY(0);
}
.intro__logo { width: clamp(180px, 26vw, 340px); height: auto; opacity: 0; transform: scale(0.96); }
body.has-intro .intro__logo { animation: introLogo 480ms var(--ease-out) 60ms forwards; }
body.intro-done .intro { transition: transform 640ms var(--ease-in-out); transform: translateY(-101%); }
body:not(.has-intro) .intro { display: none; }
@keyframes introLogo { to { opacity: 1; transform: scale(1); } }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
  transition: background-color 240ms var(--ease-out), border-color 240ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(11, 11, 11, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__logo { display: block; color: var(--fg); }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--fg-2); position: relative; padding: 12px 0; transition: color 160ms var(--ease-out); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--fg); }
  .nav__links a:hover::after { transform: scaleX(1); }
}
.nav__cta { padding: 12px 18px; font-size: 0.9rem; }
.nav__toggle { display: none; width: 44px; height: 44px; place-items: center; margin-right: -10px; }
.nav__toggle svg { width: 26px; height: 26px; fill: currentColor; }
.nav__toggle .ic-x { display: none; }
.nav__toggle[aria-expanded="true"] .ic-list { display: none; }
.nav__toggle[aria-expanded="true"] .ic-x { display: block; }

.menu {
  position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 45;
  background: var(--bg);
  padding: 32px var(--gutter);
  display: none; flex-direction: column; gap: 4px;
}
.menu.is-open { display: flex; overflow-y: auto; overscroll-behavior: contain; }
.menu a { font-size: 2rem; font-weight: 680; font-stretch: 108%; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 28px; align-self: flex-start; border: 0; font-size: 1rem; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: clamp(48px, 9vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 66% at 64% 42%, rgba(11,11,11,0) 45%, rgba(11,11,11,0.92) 100%),
    linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.15) 35%, rgba(11,11,11,0.78) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,11,11,0.9) 0%, rgba(11,11,11,0.45) 40%, rgba(11,11,11,0.05) 100%);
}

/* The wall: a 3D-tilted drift of real site screenshots. The page's one marquee. */
.wall {
  position: absolute; inset: -12% -10% -12% 18%;
  perspective: 1500px;
  perspective-origin: 50% 40%;
}
.wall__grid {
  position: absolute; inset: 0;
  display: flex; gap: clamp(16px, 2vw, 28px); justify-content: center;
  transform: rotateX(22deg) rotateY(-14deg) rotateZ(10deg) translate3d(4%, -6%, 0) scale(1.08);
  transform-style: preserve-3d;
  will-change: transform;
}
.wall__col { flex: 0 0 auto; width: clamp(240px, 24vw, 400px); overflow: hidden; }
.wall__col--narrow { width: clamp(120px, 11vw, 190px); }
.wall__list { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 28px); will-change: transform; }
.wall__list img { width: 100%; height: auto; border: 1px solid rgba(255,255,255,0.08); background: var(--bg-2); }
@media (prefers-reduced-motion: no-preference) {
  .wall__list { animation: drift var(--dur, 70s) linear infinite; }
  .wall__col--up .wall__list { animation-direction: reverse; }
}
@keyframes drift { to { transform: translate3d(0, -50%, 0); } }
.wall.is-off .wall__list, .wall.is-paused .wall__list, .wall.is-hidden .wall__list { animation-play-state: paused; }

.hero__content { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.hero__copy { grid-column: 1 / 11; }
.hero__logo { display: none; width: clamp(240px, 23vw, 340px); height: auto; margin-bottom: clamp(28px, 3.5vh, 44px); }
@media (min-width: 900px) { .hero__logo { display: block; } }
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); max-width: 30ch; }
.hero__lede { margin-top: 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero__pause { margin-top: 16px; min-height: 44px; font-size: 0.85rem; color: var(--fg-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: color 160ms var(--ease-out); }
.hero__pause[aria-pressed="true"] { color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .hero__pause:hover { color: var(--fg); } }

/* Entrance: hero elements stagger after the intro */
.hero .rv-h { transform: translateY(18px); }
body.intro-done .hero .rv-h { transition: transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms + 240ms); transform: none; }
body:not(.has-intro) .hero .rv-h { transition-delay: calc(var(--i, 0) * 80ms + 60ms); }

@media (max-width: 900px) {
  .hero { align-items: flex-start; padding-top: calc(var(--nav-h) + 40px); min-height: 0; }
  .hero__copy { grid-column: 1 / -1; }
  .hero h1 { max-width: none; }
  .wall { inset: 58% -30% -20% -30%; opacity: 0.75; }
  .wall__grid { transform: rotateX(20deg) rotateY(-8deg) rotateZ(8deg) scale(1.2); }
  .hero__scrim { background: linear-gradient(180deg, var(--bg) 0%, rgba(11,11,11,0.7) 45%, rgba(11,11,11,0.5) 75%, var(--bg) 100%); }
  .hero { padding-bottom: 46vh; }
}

/* Sections */
section { position: relative; }
.section-pad { padding-block: clamp(80px, 11vw, 160px); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin-top: 20px; }

.gallery, .about, .faq, .contact { content-visibility: auto; contain-intrinsic-size: auto 800px; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .hero .rv-h { transform: none !important; transition: opacity 300ms ease !important; }
}

/* Selected work: a vertical stack by default; becomes a pinned horizontal pan only when the script enables it at 1024px+ */
.work { background: var(--bg); padding-block: clamp(80px, 11vw, 160px); }
.work__track { display: flex; flex-direction: column; align-items: stretch; gap: 56px; padding-inline: var(--gutter); }
.work__intro { width: auto; padding-right: 24px; }
.work__intro .h-section { font-size: clamp(3rem, 7vw, 6.4rem); }
.work__intro .lede { margin-top: 28px; }

.proj { width: 100%; }
.proj__frame {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  border: 1px solid var(--line);
  container-type: size;
}
.proj__frame img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  transition: transform 1100ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .proj__frame:hover img { transform: translateY(max(calc(-100% + 100cqh), -240cqh)); transition: transform 6000ms linear; }
}
.proj__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: start; margin-top: 20px; }
.proj__meta p { color: var(--fg-2); grid-column: 1; }
.proj__meta .link { grid-column: 2; grid-row: 1 / 3; align-self: start; margin-top: 6px; }

@media (min-width: 1024px) {
  .js-pan .work { padding-block: 0; position: relative; height: var(--runway, 300vh); }
  .js-pan .work__pin { position: sticky; top: 0; height: 100dvh; display: flex; align-items: center; overflow: hidden; }
  .js-pan .work__track { flex-direction: row; align-items: center; gap: clamp(32px, 4vw, 72px); }
  .js-pan .work__intro { flex: 0 0 auto; width: clamp(280px, 34vw, 520px); }
  .js-pan .proj { flex: 0 0 auto; width: clamp(560px, 62vw, 1000px); }
  html:not(.js-pan) .proj { max-width: 1000px; }
}

/* Services: accordion image slider */
.svc { display: flex; gap: 10px; height: clamp(520px, 72vh, 760px); }
.svc__panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  background: var(--bg-2) var(--img) center 55% / cover no-repeat;
  transition: flex 600ms var(--ease-out);
  cursor: pointer;
  display: flex; align-items: flex-end;
}
.svc__panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,0.05) 0%, rgba(11,11,11,0.25) 40%, rgba(11,11,11,0.94) 72%, rgba(11,11,11,0.98) 100%); }
.svc__panel.is-open { flex: 2.6 1 0; }
.svc__body { position: relative; padding: clamp(20px, 2.4vw, 34px); width: min(100%, 560px); }
.svc__body h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); white-space: nowrap; }
.svc__trigger { font: inherit; letter-spacing: inherit; text-align: left; color: inherit; padding: 10px 0; margin: -10px 0; min-height: 44px; }
.svc__trigger:focus-visible { outline-offset: 4px; }
.svc__body p { margin-top: 16px; color: var(--fg-2); max-width: 44ch; }
.svc__body ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__body li { font-size: 0.85rem; padding: 8px 12px; border: 1px solid var(--line-2); color: var(--fg); }
.svc__detail { display: none; opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease-out) 120ms, transform 420ms var(--ease-out) 120ms, display 540ms allow-discrete; }
.svc__panel.is-open .svc__detail { display: block; opacity: 1; transform: none; }
@starting-style { .svc__panel.is-open .svc__detail { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .svc__detail { transition: opacity 200ms ease; transform: none; } }
.svc__panel:focus-visible { outline-offset: -2px; }
@media (max-width: 860px) {
  .svc { flex-direction: column; height: auto; }
  .svc__panel { flex: none; min-height: 520px; background-position: center top; }
  .svc__panel.is-open { flex: none; }
  .svc__detail { display: block !important; opacity: 1 !important; transform: none !important; }
  .svc__panel::before { background: linear-gradient(180deg, rgba(11,11,11,0) 0%, rgba(11,11,11,0.3) 34%, var(--bg-2) 56%, var(--bg-2) 100%); }
  .svc__body h3 { white-space: normal; }
}

/* Photography gallery: seven frames, three rows, cars and people interleaved */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  aspect-ratio: 16 / 13;
}
.gallery__grid figure { margin: 0; position: relative; overflow: hidden; background: var(--bg-2); }
.gallery__grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1100ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery__grid figure:hover img { transform: scale(1.035); } }
.g1 { grid-column: 1 / 9; grid-row: 1; }
.g2 { grid-column: 9 / 13; grid-row: 1 / 3; }
.g3 { grid-column: 1 / 5; grid-row: 2; }
.g4 { grid-column: 5 / 9; grid-row: 2; }
.g5 { grid-column: 1 / 5; grid-row: 3; }
.g6 { grid-column: 5 / 10; grid-row: 3; }
.g7 { grid-column: 10 / 13; grid-row: 3; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-flow: dense; aspect-ratio: auto; }
  .gallery__grid figure { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .gallery__grid .g1, .gallery__grid .g4, .gallery__grid .g6 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

/* About: full-bleed image with copy */
.about { min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding-block: clamp(80px, 11vw, 160px); }
.about__media { position: absolute; inset: -12% 0; z-index: -1; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; will-change: transform; }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,0.92) 0%, rgba(11,11,11,0.7) 45%, rgba(11,11,11,0.25) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11,11,11,0) 40%); }
.about__text { max-width: 640px; }
.about__text .h-section { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.about__text p { margin-top: 24px; font-size: 1.1rem; color: var(--fg-2); text-wrap: pretty; }
.about__text p + p { margin-top: 16px; }

/* Questions: disclosure list */
.faq { background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; text-align: left;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; font-stretch: 104%; letter-spacing: -0.01em;
}
.faq__q svg { flex: 0 0 auto; width: 20px; height: 20px; fill: currentColor; transition: transform 320ms var(--ease-out); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 24px; color: var(--fg-2); max-width: 58ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; gap: 28px; } }

/* Contact */
.contact { border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__text .lede { margin-top: 24px; }
.contact__email { margin-top: 36px; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; font-stretch: 104%; overflow-wrap: anywhere; }
.contact__email .link { font-size: inherit; font-weight: inherit; }
.contact__social { margin-top: 14px; font-size: 0.95rem; }
.contact__social .link { font-weight: 600; }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--fg); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--fg);
  background: var(--bg-2); border: 1px solid var(--line-2);
  padding: 16px; border-radius: 0; appearance: none;
  transition: border-color 160ms var(--ease-out);
}
.field input::placeholder, .field textarea::placeholder { color: #8a8a86; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); }
.field textarea { min-height: 150px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23f1f1ee'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.field select option { background: var(--bg-2); }
.form__hint { font-size: 0.85rem; color: var(--fg-2); }
.form .btn { justify-self: start; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer__grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__logo img { height: 34px; width: auto; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--fg-2); font-size: 0.92rem; transition: color 160ms var(--ease-out); padding: 12px 0; display: inline-block; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { color: var(--fg); } .footer__meta a:hover { color: var(--fg); } }
.footer__meta a { color: inherit; transition: color 160ms var(--ease-out); display: inline-block; padding: 12px 0; margin-block: -12px; }
.footer__meta { width: 100%; display: flex; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 0.85rem; }

/* Thanks page */
.thanks { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.thanks .btn { margin-top: 32px; }

/* Legal pages */
.legal { padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(80px, 10vw, 140px); max-width: 72ch; }
.legal h1 { margin-bottom: 12px; }
.legal__date { color: var(--fg-2); font-size: 0.9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; font-weight: 650; font-stretch: 106%; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p { color: var(--fg-2); margin-bottom: 14px; text-wrap: pretty; }
.legal p + p { margin-top: 0; }
.footer__legal a + a { margin-left: 20px; }
