/* ============================================================
   Setanta Design Studio — 2026 redesign
   Editorial studio aesthetic: warm paper, deep ink green,
   Fraunces display serif + Inter.
   ============================================================ */

:root {
  --paper: #faf8f3;
  --paper-2: #f2efe7;
  --card: #fffefb;
  --ink: #141d17;
  --ink-2: #1d2a21;
  --text: #2a332c;
  --muted: #5c685e;
  --cream: #efead9;
  --cream-muted: #b9bfae;
  --green: #2e5b43;
  --green-soft: #47775c;
  --line: rgba(20, 29, 23, 0.14);
  --line-dark: rgba(239, 234, 217, 0.16);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --shadow: 0 20px 50px -24px rgba(20, 29, 23, 0.35);
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--green);
  color: var(--cream);
}

/* ---------- typography ---------- */

h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-weight: 420;
  letter-spacing: -0.015em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
}

.dark h1,
.dark h2,
.dark h3 {
  color: var(--cream);
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.2;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 380;
  color: var(--green);
}

.dark h1 em,
.dark h2 em {
  color: #9fc3a9;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1.1rem;
}

.dark .eyebrow {
  color: #9fc3a9;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 46rem;
}

.dark .lede,
.dark p {
  color: var(--cream-muted);
}

/* ---------- layout ---------- */

.container {
  max-width: 76rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.dark {
  background: var(--ink);
  color: var(--cream);
}

.dark-2 {
  background: var(--ink-2);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: var(--ink);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-name span {
  color: var(--green);
  font-style: italic;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2rem);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--green);
}

.nav-link[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.dark .btn-primary {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.dark .btn-primary:hover {
  background: #9fc3a9;
  border-color: #9fc3a9;
}

.dark .btn-ghost {
  border-color: var(--line-dark);
  color: var(--cream);
}

.dark .btn-ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- mobile nav ---------- */

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--gutter) 3rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
  visibility: hidden;
}

.mobile-drawer.open {
  transform: translateY(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-head svg {
  width: 2.2rem;
  height: 2.2rem;
  fill: var(--cream);
}

.drawer-close {
  background: none;
  border: 1.5px solid var(--line-dark);
  border-radius: 10px;
  color: var(--cream);
  font-size: 1.1rem;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 3rem;
}

.drawer-nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--cream);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line-dark);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.drawer-nav a:hover,
.drawer-nav a[aria-current="page"] {
  color: #9fc3a9;
  padding-left: 0.5rem;
}

.drawer-contact {
  margin-top: auto;
  padding-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--cream-muted);
}

.drawer-contact a {
  color: var(--cream);
  text-decoration: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(3.5rem, 7vw, 6rem);
}

.hero-mark {
  position: absolute;
  right: -8rem;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(24rem, 45vw, 40rem);
  height: auto;
  fill: var(--ink);
  opacity: 0.045;
  pointer-events: none;
}

.hero h1 {
  max-width: 17ch;
}

.hero .lede {
  margin-top: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.stat .stat-num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--ink);
  line-height: 1;
}

.stat .stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.45rem;
  max-width: 16rem;
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  overflow: hidden;
  background: var(--paper-2);
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee-item {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
}

.marquee-item::after {
  content: "✦";
  font-style: normal;
  font-size: 0.8rem;
  color: var(--green);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- work cards ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.work-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.work-card {
  display: block;
  text-decoration: none;
  group: card;
}

.work-card .thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.work-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.work-card:hover .thumb img {
  transform: scale(1.045);
}

.work-card .thumb .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.45rem 0.9rem;
}

.work-card .meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
}

.work-card .meta h3 {
  transition: color 0.2s ease;
}

.work-card:hover .meta h3 {
  color: var(--green);
}

.work-card .meta .go {
  font-size: 1.3rem;
  color: var(--green);
  transition: transform 0.25s ease;
}

.work-card:hover .meta .go {
  transform: translateX(5px);
}

.work-card .summary {
  color: var(--muted);
  font-size: 0.97rem;
  margin-top: 0.4rem;
  max-width: 34rem;
}

.dark .work-card .summary {
  color: var(--cream-muted);
}

.dark .work-card .meta h3 {
  color: var(--cream);
}

.dark .work-card:hover .meta h3 {
  color: #9fc3a9;
}

/* featured layout: first card spans both columns */
.work-grid.featured > .work-card:first-child {
  grid-column: 1 / -1;
}

.work-grid.featured > .work-card:first-child .thumb {
  aspect-ratio: 21 / 10;
}

.section-foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  justify-content: center;
}

/* ---------- services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.service-card {
  background: color-mix(in srgb, var(--cream) 5%, transparent);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  background: color-mix(in srgb, var(--cream) 9%, transparent);
  border-color: rgba(159, 195, 169, 0.4);
  transform: translateY(-4px);
}

.service-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: #9fc3a9;
}

.service-card h3 {
  margin-top: 0.8rem;
  font-size: 1.28rem;
}

.service-card p {
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  color: var(--cream-muted);
}

/* light variant (services page) */
.light .service-card {
  background: var(--card);
  border-color: var(--line);
}

.light .service-card .num {
  color: var(--green);
}

.light .service-card p {
  color: var(--muted);
}

.light .service-card:hover {
  border-color: var(--green-soft);
}

/* ---------- why / values ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.check-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.check-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 1.02rem;
}

.check-list .tick {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.pull-quote {
  border-left: 3px solid var(--green);
  padding: 0.5rem 0 0.5rem 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
}

.collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.collage img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.collage img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

/* ---------- testimonials ---------- */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.testimonial .quote-mark {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.5;
  color: var(--green);
}

.testimonial blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}

.testimonial .who {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.testimonial .who .name {
  font-weight: 600;
  color: var(--ink);
}

.testimonial .who .role {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
}

.cta-band h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band .lede {
  margin: 1.3rem auto 0;
}

.cta-band .btn {
  margin-top: 2.3rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream-muted);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.site-footer .brand svg {
  fill: var(--cream);
}

.site-footer .brand-name {
  color: var(--cream);
}

.site-footer h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9fc3a9;
  margin: 0 0 1.1rem;
}

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

.footer-links a {
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-contact a {
  color: var(--cream);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #9fc3a9;
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--cream-muted);
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
}

.page-hero h1 {
  max-width: 20ch;
}

.page-hero .lede {
  margin-top: 1.4rem;
}

/* ---------- work index filters ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter-chip {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--green);
  color: var(--green);
}

.filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.work-card.hidden {
  display: none;
}

/* ---------- project detail ---------- */

.project-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  color: var(--muted);
}

.chip.solid {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem;
}

.gallery button {
  border: 0;
  padding: 0;
  background: var(--paper-2);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery button:hover img {
  transform: scale(1.035);
}

.gallery button:first-child {
  grid-column: 1 / -1;
}

.gallery button:first-child img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.project-nav a {
  text-decoration: none;
  max-width: 45%;
}

.project-nav .dir {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-nav .name {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: var(--ink);
  margin-top: 0.4rem;
  transition: color 0.2s ease;
}

.project-nav a:hover .name {
  color: var(--green);
}

.project-nav .next {
  text-align: right;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 20, 17, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(92vw, 70rem);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox .lb-btn {
  position: absolute;
  background: rgba(239, 234, 217, 0.1);
  border: 1px solid var(--line-dark);
  color: var(--cream);
  border-radius: 999px;
  width: 2.9rem;
  height: 2.9rem;
  font-size: 1.15rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox .lb-btn:hover {
  background: rgba(239, 234, 217, 0.22);
}

.lightbox .lb-close {
  top: 1.3rem;
  right: 1.3rem;
}

.lightbox .lb-prev {
  left: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .lb-next {
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- about / process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.process-step {
  border-top: 2px solid var(--green);
  padding-top: 1.4rem;
}

.process-step .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--green);
}

.dark .process-step .num {
  color: #9fc3a9;
}

.process-step h3 {
  margin-top: 0.5rem;
}

.process-step p {
  font-size: 0.97rem;
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.dark .process-step {
  border-top-color: rgba(159, 195, 169, 0.5);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.8rem;
}

.info-block .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.info-block a {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
  text-decoration: none;
}

.info-block a:hover {
  color: var(--green);
}

.info-block p {
  margin: 0;
  color: var(--muted);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.2rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 91, 67, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- privacy ---------- */

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.6rem;
}

.prose p {
  margin-top: 0.9rem;
}

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .work-grid,
  .work-grid.cols-3,
  .services-grid,
  .testimonials-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .work-grid,
  .work-grid.cols-3,
  .services-grid,
  .testimonials-grid,
  .process-grid,
  .gallery,
  .collage {
    grid-template-columns: 1fr;
  }
  .work-card .thumb,
  .work-grid.featured > .work-card:first-child .thumb {
    aspect-ratio: 4 / 3;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .project-nav a {
    max-width: 48%;
  }
}
