/* ============================================================
   AMARI & OAK
   Standalone static site: no WordPress, Kadence or slider plugin.
   ============================================================ */

:root {
  --bg: #f8f5ef;
  --bg-soft: #efeee7;
  --bg-card: #f2efe8;
  --text: #2d302b;
  --muted: #686b64;
  --line: rgba(45, 48, 43, 0.22);
  --sage: #9da894;
  --sage-deep: #717c6b;
  --ivory: #f8f5ef;
  --white: #fffdf8;
  --hero-text: #fffdf8;
  --header-bg: rgba(248, 245, 239, 0.05);
  --shadow: 0 24px 70px rgba(31, 34, 28, 0.08);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "Raleway", Arial, sans-serif;
  --content: 1280px;
  --page-pad: clamp(22px, 4vw, 64px);
  --transition: 300ms ease;
}

html[data-theme="dark"] {
  --bg: #151714;
  --bg-soft: #1c1f1b;
  --bg-card: #22251f;
  --text: #eeeae0;
  --muted: #b9b8ae;
  --line: rgba(238, 234, 224, 0.22);
  --sage: #aab5a1;
  --sage-deep: #c0c8b8;
  --ivory: #eeeae0;
  --white: #f5f1e8;
  --header-bg: rgba(21, 23, 20, 0.05);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  transition: background-color var(--transition), color var(--transition);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 9999;
  background: var(--bg);
  color: var(--text);
  padding: 10px 14px;
  transition: top 180ms ease;
}

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

.wide-wrap {
  width: min(var(--content), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

.narrow-wrap {
  width: min(820px, calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

.section {
  padding: clamp(80px, 10vw, 150px) 0;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--sage-deep);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.display-heading,
.section h2,
.about-card h2,
.statement h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}

.display-heading {
  max-width: 960px;
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 7.5rem);
  letter-spacing: -0.025em;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.35;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(5px);
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 22px;
  padding: 13px 24px;
  border: 1px solid currentColor;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.outline-button:hover,
.outline-button:focus-visible {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}

/* Header --------------------------------------------------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  padding: 0 var(--page-pad);
  color: var(--hero-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.site-header.is-scrolled {
  position: fixed;
  min-height: 72px;
  background: var(--header-bg);
  color: var(--text);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: headerIn 260ms ease;
}

@keyframes headerIn {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}


/* Image wordmark ------------------------------------------------ */
.header-brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(270px, 31vw);
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 500ms ease;
}

/* The homepage wordmark starts white over the hero, then follows the
   light/dark sticky header just like the navigation text. */
.site-header.is-scrolled .brand-logo {
  filter: brightness(0);
}

html[data-theme="dark"] .site-header.is-scrolled .brand-logo {
  filter: brightness(0) invert(1);
}

/* The contact page begins on a light surface rather than a photograph. */
body.contact-page .site-header .brand-logo {
  filter: brightness(0);
}

html[data-theme="dark"] body.contact-page .site-header .brand-logo {
  filter: brightness(0) invert(1);
}

.header-brand,
.footer-brand {
  justify-self: start;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: 0.16em;
  white-space: nowrap;
}

/* Larger top-left logo */
.site-header .brand-logo {
  height: 54px;
  width: auto;
  max-width: min(310px, 31vw);
}

/* Keep the logo balanced on smaller screens */
@media (max-width: 620px) {
  .site-header .brand-logo {
    height: 38px;
    max-width: 58vw;
  }
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 48px);
}

.desktop-nav a,
.footer-end a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle,
.menu-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: currentColor;
  transform: translateY(-1px);
}

.theme-toggle:hover .theme-icon,
.theme-toggle:focus-visible .theme-icon {
  color: #20231f;
}

.site-header.is-scrolled .theme-toggle:hover .theme-icon,
.site-header.is-scrolled .theme-toggle:focus-visible .theme-icon,
html[data-theme="dark"] .site-header.is-scrolled .theme-toggle:hover .theme-icon,
html[data-theme="dark"] .site-header.is-scrolled .theme-toggle:focus-visible .theme-icon {
  color: var(--bg);
}

.theme-icon {
  position: absolute;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 180ms ease, transform 300ms ease;
}

html[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: rotate(-40deg) scale(0.6);
}

html[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(40deg) scale(0.6);
}

html[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  position: absolute;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform var(--transition), top var(--transition);
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 23px; }

body.menu-open .menu-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* Hero ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 95vh;
  min-height: 95svh;
  overflow: hidden;
  background: #3f443d;
  color: var(--hero-text);
}

.hero-slides,
.hero-slide,
.hero-slide img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 1.25s ease, visibility 1.25s ease, transform 7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.055);
}

.hero-slide img {
  object-fit: cover;
  object-position: center;
}

.hero-img-01 { object-position: center 45%; }
.hero-img-02 { object-position: center 35%; }
.hero-img-03 { object-position: center 38%; }
.hero-img-04 { object-position: center 32%; }
.hero-img-05 { object-position: center 52%; }

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(20, 22, 19, 0.28) 0%, rgba(20, 22, 19, 0.04) 38%, rgba(20, 22, 19, 0.32) 100%),
    linear-gradient(to right, rgba(20, 22, 19, 0.14), transparent 35%, transparent 65%, rgba(20, 22, 19, 0.14));
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  width: min(1100px, calc(100% - 48px));
  text-align: center;
  transform: translate(-50%, -46%);
}

.hero-kicker {
  margin: 0 0 18px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.13em;
  text-indent: 0.13em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.14);
}

.amp-mark {
  display: inline-block;
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 0.78;
  letter-spacing: 0;
  margin: 0 0.03em;
  transform-origin: center;
}

.header-brand .amp-mark,
.footer-brand .amp-mark,
.enquiry-brand .amp-mark {
  font-size: 1.28em;
  transform: translateY(0.05em) scaleY(1.12);
}

.hero-copy h1 .amp-mark {
  font-size: 1.28em;
  transform: translateY(0.08em) scaleY(1.12);
}


/* Main hero wordmark image */
.hero-copy h1.hero-wordmark-title {
  width: 100%;
  margin: 0;
  font-size: initial;
  line-height: 1;
  letter-spacing: 0;
  text-indent: 0;
  text-shadow: none;
}

.hero-wordmark {
  display: block;
  width: min(40vw, 600px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.hero-subtitle {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  letter-spacing: 0.04em;
  transform: translateY(250px);
}

@media (max-width: 620px) {
  .hero-subtitle {
    margin-top: 18px;
    transform: translateY(16px);
  }
}

.slide-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color var(--transition), transform var(--transition);
}

.slide-arrow:hover,
.slide-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%) scale(1.05);
}

.slide-arrow-prev { left: var(--page-pad); }
.slide-arrow-next { right: var(--page-pad); }

.hero-progress {
  position: absolute;
  z-index: 6;
  right: var(--page-pad);
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.progress-line {
  display: block;
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.progress-line span {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}

.progress-line span.is-running {
  animation: progressBar 7s linear forwards;
}

@keyframes progressBar {
  from { width: 0; }
  to { width: 100%; }
}

.scroll-cue {
  position: absolute;
  z-index: 6;
  left: var(--page-pad);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: currentColor;
}

/* Intro ---------------------------------------------------- */
.welcome {
  background: var(--bg);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
  margin-top: clamp(60px, 8vw, 110px);
}

.intro-copy {
  max-width: 520px;
  padding-bottom: clamp(10px, 3vw, 54px);
}

.editorial-image {
  overflow: hidden;
  background: var(--bg-soft);
}

.editorial-image img,
.portfolio-image img,
.statement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-landscape {
  aspect-ratio: 5 / 4;
}

/* Experience ---------------------------------------------- */
.experience {
  background: var(--bg-soft);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
}

.experience-images {
  position: relative;
  min-height: 680px;
}

.portrait-main {
  width: 75%;
  aspect-ratio: 3 / 4;
}

.portrait-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1 / 1;
  border: 14px solid var(--bg-soft);
}

.experience-copy h2,
.section-heading h2,
.about-card h2,
.contact h2 {
  margin: 0 0 28px;
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.experience-copy p {
  max-width: 520px;
}

/* Portfolio ------------------------------------------------ */
.portfolio {
  background: var(--bg);
}

.centered {
  max-width: 800px;
  margin: 0 auto clamp(55px, 8vw, 100px);
  text-align: center;
}

.centered .eyebrow {
  margin-bottom: 18px;
}

.centered h2 {
  margin-bottom: 18px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.3vw, 36px);
}

.portfolio-card {
  margin: 0;
}

.portfolio-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
}

.portfolio-image img {
  transition: transform 700ms cubic-bezier(.2,.65,.25,1);
}

.portfolio-card:hover img {
  transform: scale(1.025);
}

.portfolio-card h3 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 400;
  text-align: center;
}

/* Statement ------------------------------------------------ */
.statement {
  position: relative;
  display: grid;
  min-height: 70vh;
  min-height: 70svh;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.statement-image,
.statement-shade {
  position: absolute;
  inset: 0;
}

.statement-image img {
  object-position: center;
}

.statement-shade {
  background: rgba(26, 29, 25, 0.38);
}

.statement-copy {
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 48px));
  text-align: center;
}

.statement-copy > p {
  margin: 0 0 16px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
}

.statement-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 6.5vw, 7rem);
}

.statement-copy span {
  display: block;
  margin-top: 25px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

/* About ---------------------------------------------------- */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 5;
}

.about-card {
  position: relative;
  z-index: 2;
  margin-left: clamp(-110px, -7vw, -55px);
  padding: clamp(45px, 6vw, 90px);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.about-card .italic {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

/* Contact CTA + footer ------------------------------------ */
.contact-cta {
  background: var(--sage);
  color: #1f241d;
  text-align: center;
}

html[data-theme="dark"] .contact-cta {
  background: #727d6a;
  color: #f5f1e8;
}

.contact-cta .eyebrow {
  color: inherit;
  opacity: 0.75;
}

.contact-cta h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
}

.contact-cta-inner p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
}

.site-footer {
  padding: 58px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: end;
}

.footer-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}


.footer-end {
  text-align: right;
}

/* Back to top -------------------------------------------- */
.back-to-top {
  position: fixed;
  right: var(--page-pad);
  bottom: 28px;
  z-index: 45;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  color: var(--text);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background-color var(--transition), color var(--transition);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-1px);
}


/* Dedicated contact page ----------------------------------- */
.contact-page {
  min-height: 100vh;
  background: var(--bg);
}

.contact-page .site-header,
.contact-page .site-header.is-scrolled {
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 60;
  background: rgba(248, 245, 239, 0.88);
  color: var(--text);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: none;
}

html[data-theme="dark"] .contact-page .site-header,
html[data-theme="dark"] .contact-page .site-header.is-scrolled {
  background: rgba(21, 23, 20, 0.88);
}

.contact-page .desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.contact-page-main {
  background: var(--bg);
}

.enquiry-section {
  background: var(--bg);
  color: var(--text);
}

.enquiry-heading {
  max-width: 1200px;
  margin: 0 auto clamp(55px, 6vw, 90px);
  text-align: center;
}

.enquiry-heading .eyebrow {
  margin-bottom: 18px;
}

.enquiry-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.enquiry-section {
  padding-top: 40px;
}

.enquiry-script {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-style: italic;
  color: var(--sage-deep);
}

.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(480px, 1.25fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.enquiry-intro {
  max-width: 480px;
  padding-top: 8px;
}

.enquiry-intro p {
  margin: 0 0 24px;
}

.enquiry-lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.35;
}

.enquiry-details {
  margin-top: 55px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.enquiry-details p {
  margin: 4px 0;
}

.enquiry-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.enquiry-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 24px;
}

.form-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field label span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-soft);
  color: var(--text);
  padding: 15px 16px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.form-field input,
.form-field select {
  min-height: 54px;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--sage-deep);
  background: var(--bg-card);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.65;
}

.enquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  min-width: 220px;
  margin-top: 10px;
  padding: 16px 20px;
  border: 1px solid var(--sage-deep);
  background: var(--sage-deep);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, transform 250ms ease;
}

.enquiry-submit span {
  font-size: 1.2rem;
}

.enquiry-submit:hover,
.enquiry-submit:focus-visible {
  background: transparent;
  color: var(--text);
  transform: translateY(-2px);
}

.form-status {
  min-height: 1.5em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Responsive ---------------------------------------------- */
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    background: var(--bg);
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
  }

  body.menu-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav a {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 8vw, 3.6rem);
  }

  body.menu-open .site-header {
    position: fixed;
    color: var(--text);
    border-color: transparent;
  }

  .hero-copy h1 {
    letter-spacing: 0.09em;
    text-indent: 0.09em;
  }

  .intro-grid,
  .experience-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 45px;
  }

  .experience-grid {
    gap: 70px;
  }

  .experience-images {
    min-height: 620px;
  }

  .experience-copy {
    width: min(650px, 100%);
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }


  .about-card {
    width: calc(100% - 50px);
    margin: -80px auto 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-end {
    text-align: right;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    height: 29px;
    max-width: 58vw;
  }

  .hero-wordmark {
    width: 78vw;
  }

  :root {
    --page-pad: 20px;
  }

  .site-header {
    min-height: 74px;
  }

  .site-header.is-scrolled {
    min-height: 66px;
  }

  .header-brand {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
  }

  .theme-toggle,
  .menu-toggle,
  .back-to-top {
    width: 38px;
    height: 38px;
  }

  .back-to-top {
    bottom: 20px;
  }

  .menu-toggle span:first-child { top: 15px; }
  .menu-toggle span:last-child { top: 21px; }
  body.menu-open .menu-toggle span:first-child,
  body.menu-open .menu-toggle span:last-child { top: 18px; }

  .hero {
    min-height: 86svh;
  }

  .hero-copy {
    transform: translate(-50%, -42%);
  }

  .hero-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
  }

  .hero-copy h1 {
    font-size: clamp(2.85rem, 15vw, 4.6rem);
    line-height: 1;
    letter-spacing: 0.07em;
    text-indent: 0.07em;
  }

  .hero-subtitle {
    margin-top: 18px;
  }

  .slide-arrow {
    top: auto;
    bottom: 88px;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .slide-arrow:hover,
  .slide-arrow:focus-visible {
    transform: scale(1.05);
  }

  .slide-arrow-prev { left: 20px; }
  .slide-arrow-next { left: 70px; right: auto; }

  .scroll-cue {
    display: none;
  }

  .hero-progress {
    right: 20px;
    bottom: 32px;
  }

  .display-heading {
    font-size: clamp(2.85rem, 13vw, 4.6rem);
  }

  .intro-grid {
    margin-top: 46px;
  }

  .experience-images {
    min-height: 465px;
  }

  .portrait-main {
    width: 82%;
  }

  .portrait-small {
    width: 43%;
    border-width: 8px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }


  .statement {
    min-height: 62svh;
  }

  .about-card {
    width: calc(100% - 24px);
    margin-top: -44px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-end {
    justify-self: start;
    text-align: left;
  }
}


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

  .enquiry-intro {
    max-width: 650px;
  }

  .enquiry-details {
    margin-top: 35px;
  }
}

@media (max-width: 600px) {
  .contact-page .site-header,
  .contact-page .site-header.is-scrolled {
    min-height: 74px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .enquiry-heading {
    margin-bottom: 55px;
  }

  .enquiry-heading h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .enquiry-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
