/* Suthar Studios */

:root {
  --bg: #fcf4e5;
  --surface: #faf8f4;
  --ink: #151515;
  --ink-2: #3b3936;
  --muted: #76716a;
  --line: #dcd5ca;
  --dark: #141414;
  --radius: 6px;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1600px;
  --header-h: 4.5rem;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

/* Fluid root size: 16px on laptops/phones -> 20px on wide screens. Everything sized in rem/em scales with it.
   Percent/rem bounds keep the visitor's browser font-size setting in charge. */
html {
  font-size: clamp(100%, 0.35vw + 0.72rem, 118%);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.028em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--dark);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.eyebrow {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 1.4rem;
}

.eyebrow span {
  margin-inline: .5em;
  color: var(--muted);
}

.lead {
  color: var(--ink-2);
  font-size: 1.15rem;
  max-width: 44ch;
  margin-top: 1.4rem;
}

.muted {
  color: var(--muted);
}

.mb {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Icons */
.ic {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.ic-lg {
  width: 2.5rem;
  height: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  height: 3.1rem;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: 500 .95rem/1 var(--font);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.btn .ic {
  width: 1em;
  height: 1em;
  transition: transform .25s var(--ease);
}

.btn:hover .ic {
  transform: translate(2px, -2px);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: #3a3835;
}

.btn-dark:disabled {
  opacity: .6;
  cursor: progress;
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-light {
  background: var(--bg);
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
}

.btn-sm {
  height: 2.5rem;
  padding: 0 1rem;
  font-size: .85rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.2rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.link-arrow .ic {
  width: 1em;
  height: 1em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.15;
}

.logo span:first-child {
  font-size: .92rem;
  letter-spacing: .34em;
}

.logo span:last-child {
  font-size: .56rem;
  letter-spacing: .82em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-size: .95rem;
}

.nav>a:not(.btn),
.dropdown summary {
  position: relative;
  color: var(--ink-2);
  padding: .35rem 0;
  transition: color .2s;
}

.nav>a:not(.btn):hover,
.dropdown summary:hover {
  color: var(--ink);
}

.nav>a[aria-current],
.dropdown summary.is-active {
  color: var(--ink);
  font-weight: 500;
}

.nav>a[aria-current]::after,
.dropdown summary.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
}

.nav .btn {
  margin-left: .4rem;
}

.dropdown {
  position: relative;
}

.dropdown summary {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  cursor: pointer;
}

.dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown summary .ic {
  width: .9em;
  height: .9em;
  transition: transform .2s;
}

.dropdown[open] summary .ic {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -1rem;
  min-width: 270px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .4rem;
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / .28);
}

.dropdown-menu a {
  display: block;
  padding: .6rem .8rem;
  border-radius: 4px;
  color: var(--ink-2);
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--ink);
}

.dropdown-menu a:first-child {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  border-radius: 4px 4px 0 0;
  margin-bottom: .3rem;
}

.menu-btn {
  display: none;
}

@media (max-width: 960px) {
  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    background: none;
    border: 0;
    color: var(--ink);
    cursor: pointer;
  }

  .menu-btn .ic {
    width: 24px;
    height: 24px;
  }

  .menu-btn[aria-expanded="true"] .ic:first-child,
  .menu-btn[aria-expanded="false"] .ic:last-child {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: .25rem var(--gutter) 1.5rem;
  }

  .nav-open .nav {
    display: flex;
  }

  .nav>a:not(.btn),
  .dropdown summary {
    padding: .95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav>a[aria-current]::after,
  .dropdown summary.is-active::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    padding: .25rem 0 .5rem .75rem;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .dropdown-menu a:first-child {
    border: 0;
    margin: 0;
  }

  .nav .btn {
    margin: 1.25rem 0 0;
    height: 48px;
    justify-content: center;
    font-size: .9rem;
  }
}

/* Media + placeholder (shown until real images are added) */
.media {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 72% 18%, #45403b 0%, #1c1b19 58%, #121212 100%);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media[data-ph]::after {
  content: attr(data-ph);
  position: absolute;
  left: 14px;
  top: 12px;
  font: 500 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: rgb(255 255 255 / .5);
}

/* Split hero: image covers the right 2/3 with a diagonal edge on the text side.
   Copy is aligned to the container and kept inside the left 40%, which stays clear of the slant. */
.hero-split {
  --slant: 24%;
  --media-w: 80;
  /* image width as % of the viewport */
  --zoom: 1;
  /* hero image size: 1 = full hero height, lower = smaller image */
  position: relative;
  display: flex;
  align-items: center;
  /* As tall as the screen allows, but no taller than a 4:3 box at --media-w width, so the 4:3 images aren't zoomed */
  min-height: max(560px, min(calc(100svh - var(--header-h)), calc(var(--media-w) * .75vw)));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 40%;
  padding: clamp(48px, 6vw, 96px) 2rem clamp(48px, 6vw, 96px) max(var(--gutter), (100% - var(--max)) / 2);

  /* Move hero text upward on desktop */
  transform: translateY(-90px);
}

.hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
}

/* capped so long words fit the 40% column */
.hero-home h1 {
  max-width: 19ch;
  font-size: clamp(2.3rem, 3.6vw, 3.4rem);
}

/* The area the image may use (right --media-w% of the hero). */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: calc(var(--media-w) * 1%);
  background: none;
}

/* The image keeps its true 4:3 shape (full hero height, right-aligned) instead of being
   stretched to fill a wide box, so it is never zoomed. Only if the hero is narrower than 4:3 does it crop a little. */
.hero-media img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 65% 50%;
  clip-path: polygon(var(--slant) 0, 100% 0, 100% 100%, var(--slant-b, 6%) 100%);
  /* Zoomed out: shrink toward the right edge, vertically centred */
  transform: translateX(clamp(18px, 2.5vw, 42px)) scale(var(--zoom));
  transform-origin: 100% 50%;
  /* Soft fade along the diagonal (105deg runs parallel to the slant; widen the gap between stops for a longer fade),
     intersected with soft top/bottom fades so the shrunken image has no hard edges. */
  --fade: linear-gradient(105deg, transparent 0%, #000 40%);
  /*--fade-y: linear-gradient(transparent, #000 0%, #000 100%, transparent);*/
  -webkit-mask-image: linear-gradient(
    105deg,
    transparent 20%,
    rgba(0, 0, 0, .10) 29%,
    rgba(0, 0, 0, .42) 39%,
    rgba(0, 0, 0, .82) 49%,
    #000 59%
);
  mask-image: var(--fade), var(--fade-y);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Small laptops: the image sits closer to the text, so start the fade later */
@media (max-width: 1200px) {
  .hero-media img {
    --fade: linear-gradient(105deg, transparent 30%, #000 48%);
  }
}

@media (max-width: 960px) {
  .hero-split {
    --slant: 14%;
    display: block;
    min-height: 0;
  }

  .hero-copy {
    width: auto;
    padding: clamp(40px, 7vw, 64px) var(--gutter) 40px;
    transform: none;
  }

  .hero-media {
    position: relative;
    width: auto;
    aspect-ratio: 4 / 3;
  }

  .hero-media img {
    width: 100%;
    object-position: 50% 50%;
    clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
    transform: none;
    --fade: linear-gradient(174deg, transparent 12.5%, #000 32%);
    --fade-y: linear-gradient(#000, #000);
  }
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs [aria-current] {
  color: var(--ink-2);
}

/* Sections */
.block {
  padding-block: clamp(56px, 2vw, 112px);
}

.block+.block {
  border-top: 1px solid var(--line);
}

.page-top {
  padding-top: clamp(40px, 3vw, 80px);
}

.split-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 4rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.split-head h2 {
  max-width: 15ch;
}

.split-head>p,
.split-head>div:last-child {
  color: var(--ink-2);
  max-width: 50ch;
  justify-self: end;
}

.split-head .eyebrow+h1 {
  max-width: 12ch;
}

.container.split-head {
  margin-bottom: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 760px) {
  .split-head {
    grid-template-columns: 1fr;
  }

  .split-head>p,
  .split-head>div:last-child {
    justify-self: start;
  }
}

/* Disciplines row */
.disciplines {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.discipline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.25rem 1rem 0 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.01em;
  align-items: center;
}

.discipline .ic {
  width: 3.25rem;
  height: 3.25rem;
}

.discipline .ic {
  transition: transform .3s var(--ease);
}

.discipline:hover .ic {
  transform: translateY(-4px);
}

.discipline span {
  max-width: 11ch;
  text-align: center;
}

@media (max-width: 860px) {
  .disciplines {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .disciplines {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 2.75rem 2rem;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature .ic {
  margin-bottom: 1.25rem;
  
}

.feature h3 {
  margin-bottom: .45rem;
}

.feature p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 30ch;
}

.features.plain .feature {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

/* Steps (numbered by CSS) */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.5rem 2rem;
  counter-reset: step;
}

.steps li {
  border-top: 1px solid var(--ink);
  padding-top: 1.1rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.steps h3 {
  margin-bottom: .45rem;
}

.steps p {
  color: var(--muted);
  font-size: 1rem;
}

/* Tags */
.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.tags li {
  padding: .55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .9rem;
}

/* Sticky section nav */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--bg);
  border-block: 1px solid var(--line);
}

.subnav .container {
  display: flex;
  gap: 2.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav a {
  padding: 1.05rem 0 1rem;
  margin-bottom: -1px;
  border-bottom: 1px solid transparent;
  font-size: .86rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s;
  font-size: .95rem;
}

.subnav a:hover {
  color: var(--ink);
}

.subnav a[aria-current] {
  color: var(--ink);
  border-color: var(--ink);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 54px);
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px);
}

.card .media {
  aspect-ratio: 4 / 3;
  /* matches the source images: no crop */
  border-radius: var(--radius);
}

.card .media img,
.work-card .media img {
  transition: transform .7s var(--ease);
}

.card:hover .media img,
.work-card:hover .media img {
  transform: scale(1.04);
}

.card-body {
  padding-top: 1.1rem;
}

.card h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.card h3 .ic {
  width: 1em;
  height: 1em;
  transition: transform .25s var(--ease);
}

.card:hover h3 .ic {
  transform: translate(2px, -2px);
}

.card p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: .35rem;
  max-width: 34ch;
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Work cards */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.work-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}

.work-card .media {
  aspect-ratio: 4 / 3;
  /* matches the source images: no crop */
}

.work-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 3rem 1.4rem 1.25rem;
  color: #fff;
  background: linear-gradient(transparent, rgb(0 0 0 / .62));
}

.work-meta h3 {
  font-weight: 500;
  font-size: 1.35rem;
}

.work-meta p {
  font-size: .92rem;
  opacity: .75;
}

.work-meta .ic {
  width: 1.4rem;
  height: 1.4rem;
  transition: transform .25s var(--ease);
}

.work-card:hover .work-meta .ic {
  transform: translate(2px, -2px);
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
}

.filters button {
  padding: .4rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
}

.filters button:hover {
  color: var(--ink);
}

.filters button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--ink);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
}

.stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  border-top: 1px solid var(--ink);
  padding-top: 1.1rem;
}

.stats dd {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -.035em;
  line-height: 1;
}

.stats dt {
  margin-top: .7rem;
  color: var(--muted);
  font-size: .92rem;
}

.stats-sm {
  margin-top: 2.75rem;
  gap: 1.25rem 2.25rem;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
}

.stats-sm div {
  border-top-color: var(--line);
}

.stats-sm dd {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.stats-sm dt {
  margin-top: .25rem;
  font-size: .82rem;
}

@media (max-width: 560px) {
  .stats:not(.stats-sm) {
    grid-template-columns: 1fr;
  }
}

/* Case study */
.meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-block: 1px solid var(--line);
}

.meta div {
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.meta div+div {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.meta dt {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .2rem;
}

.meta dd {
  margin: 0;
  font-weight: 500;
  font-size: 1.05rem;
}

@media (max-width: 760px) {
  .meta {
    grid-template-columns: 1fr 1fr;
  }

  .meta div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .meta div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.case-grid h2 {
  margin-bottom: .25rem;
}

.media.detail {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
}

@media (max-width: 860px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.checks {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: .85rem;
  color: var(--ink);
}

.checks li {
  display: flex;
  gap: .75rem;
}

.checks .ic {
  width: 1.15em;
  height: 1.15em;
  margin-top: .2rem;
}

.next-project {
  display: flex;
  flex-direction: column;
}

.next-project .eyebrow {
  margin-bottom: .75rem;
}

.next-title {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -.03em;
  line-height: 1.05;
}

.next-title .ic {
  width: .8em;
  height: .8em;
  transition: transform .3s var(--ease);
}

.next-project:hover .next-title .ic {
  transform: translateX(8px);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}

.contact-grid h1 {
  max-width: 12ch;
}

.contact-list {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-list .ic {
  margin-top: .2rem;
}

.contact-list small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  gap: .9rem;
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.input {
  width: 100%;
  padding: .85rem .95rem;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .2s;
}

.input::placeholder {
  color: var(--muted);
}

.input:hover {
  border-color: #c4bcb0;
}

.input:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

select.input {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151515' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6l6 -6'/%3E%3C/svg%3E") no-repeat right .9rem center / 16px;
}

textarea.input {
  min-height: 150px;
  resize: vertical;
}

.form .btn {
  justify-self: start;
  min-width: 220px;
  justify-content: space-between;
  margin-top: .4rem;
}

.form-status {
  font-size: .9rem;
  min-height: 1.4em;
  color: var(--ink-2);
}

.form-status.ok {
  color: #2f6b3a;
}

.form-status.err {
  color: #a03a2c;
}

.form-status a {
  text-decoration: underline;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* CTA + footer */
.cta {
  background: var(--dark);
  color: #fff;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: clamp(64px, 9vw, 112px);
}

.cta .eyebrow {
  color: #9d978f;
}

.cta h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.site-footer {
  background: var(--dark);
  color: #b3ada4;
  font-size: .88rem;
}

.site-footer :focus-visible,
.cta :focus-visible {
  outline-color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr .8fr 1.2fr;
  gap: 2.5rem 2rem;
  padding-block: 56px;
  border-top: 1px solid #2a2927;
}

.site-footer .logo {
  color: #fff;
}

.footer-tag {
  margin-top: 1.25rem;
  max-width: 32ch;
}

.footer-grid h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.footer-grid a {
  transition: color .2s;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  padding-block: 22px;
  border-top: 1px solid #2a2927;
  font-size: .8rem;
  color: #7f7a72;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}