/* ==========================================================================
   The Bloomery — Floral Design House
   One page. Black, ivory, warm ivory. Hairlines, no radius, no shadow.
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body,
h1, h2, h3, p, figure, blockquote, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
:focus:not(:focus-visible) { outline: 0; }

::selection { background: var(--ivory); color: var(--ink); }
.band--dark ::selection,
.hero ::selection,
.site-foot ::selection { background: var(--ivory); color: var(--ink); }

/* tokens ------------------------------------------------------------------- */
:root {
  --ink: #0E0E0C;
  --ivory: #F6F1E7;
  --paper: #FCFAF5;
  --warm: #EFE8DC;
  --muted-light: #6D665C;
  --muted-dark: rgba(246, 241, 231, 0.68);
  --line-light: rgba(14, 14, 12, 0.16);
  --line-dark: rgba(246, 241, 231, 0.22);

  --gutter: clamp(24px, 5vw, 72px);
  --container: 1320px;
  --section-y: clamp(96px, 12vw, 180px);

  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));

  --font-display: "Hatton", "Cormorant Garamond", Georgia, serif;
  --font-body: "Hatton", "EB Garamond", Georgia, serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-script: "New Icon Script", "Pinyon Script", cursive;

  --display: clamp(44px, 6vw, 88px);
  --display-2: clamp(34px, 4.4vw, 62px);
  --display-3: clamp(38px, 5.2vw, 76px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 280ms;

  --muted: var(--muted-light);
  --line: var(--line-light);

  --card: 452px;
  --card-gap: 28px;
}

/* base --------------------------------------------------------------------- */
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-wrap: balance;
}

h2 { font-size: var(--display-2); }
h3 { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: 0.02em; }

p { text-wrap: pretty; }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* utilities ---------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.band--dark {
  background: var(--ink);
  color: var(--ivory);
  --muted: var(--muted-dark);
  --line: var(--line-dark);
  --btn-hover-bg: var(--ivory);
  --btn-hover-fg: var(--ink);
}

.band--warm {
  background: var(--warm);
  color: var(--ink);
  --muted: var(--muted-light);
  --line: var(--line-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: currentColor;
  opacity: 0.55;
}

.aside {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  max-width: 44ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 17px 32px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  --btn-hover-bg: var(--ink);
  --btn-hover-fg: var(--ivory);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 4px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--dur) var(--ease);
}

.text-link:hover { opacity: 0.6; }

.skip {
  position: absolute;
  left: 12px;
  top: -90px;
  z-index: 400;
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.skip:focus { top: 12px; }

/* header ------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 1px solid var(--line-dark);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand img {
  width: auto;
  height: 34px;
  filter: invert(1);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }

.nav a,
.foot-nav a,
.foot-links a {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 10px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav a:hover,
.foot-nav a:hover,
.foot-links a:hover { border-bottom-color: currentColor; }

.nav-inquire { border-bottom-color: rgba(246, 241, 231, 0.45) !important; }
.nav-inquire:hover { border-bottom-color: var(--ivory) !important; }

.menu-btn {
  display: none;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 0;
}

/* mobile menu */
html.menu-open,
html.menu-open body { overflow: hidden; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) 36px;
  background: var(--ink);
  color: var(--ivory);
  overflow-y: auto;
  animation: menu-in 260ms var(--ease) both;
}

@keyframes menu-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.menu-close {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 0 14px 20px;
}

.menu-nav {
  display: grid;
  margin-block: auto;
  padding-block: 32px;
}

.menu-nav a {
  font-family: var(--font-display);
  font-size: clamp(32px, 8.6vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-block: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.menu-nav a:first-child { border-top: 1px solid var(--line-dark); }

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  padding-block: clamp(48px, 6vw, 92px) clamp(56px, 7vw, 104px);
  --muted: var(--muted-dark);
  --line: var(--line-dark);
  --btn-hover-bg: var(--ivory);
  --btn-hover-fg: var(--ink);
}

.hero-botanical {
  position: absolute;
  z-index: 0;
  left: var(--edge);
  top: 50%;
  transform: translate(calc(-100% - 22px), -50%);
  height: 76%;
  max-width: 30vw;
  aspect-ratio: 375 / 950;
  background-color: var(--ivory);
  -webkit-mask-image: url("../assets/logos/botanical-poppy-stem.png");
  mask-image: url("../assets/logos/botanical-poppy-stem.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.88;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-title {
  font-size: var(--display);
  line-height: 0.95;
  margin-block: 26px 30px;
}

.hero-title .ln { display: block; }

.hero-sub {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  max-width: 44ch;
  color: var(--muted-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: clamp(32px, 3.4vw, 44px);
}

.hero-photo { margin: 0; min-width: 0; }

.hero-photo .frame {
  position: relative;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
}

.hero-photo img {
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: auto;
  filter: saturate(0.9) contrast(1.04) brightness(0.94);
}

.hero-photo figcaption {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-sans);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* story -------------------------------------------------------------------- */
.story { background: var(--ivory); }

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}

.story-head {
  grid-column: 1 / span 6;
  position: relative;
  padding-right: clamp(24px, 3vw, 56px);
}

.story-head::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  bottom: 4px;
  width: 1px;
  background: var(--line-light);
}

.story-title {
  font-size: clamp(38px, 5.2vw, 72px);
  margin-top: 26px;
}

.script-line {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(54px, 7.6vw, 104px);
  line-height: 0.86;
  margin-top: 0.06em;
  margin-left: -0.03em;
  padding-bottom: 0.14em;
  color: var(--ink);
}

.story-body { grid-column: 8 / span 5; }

.story-body p { max-width: 60ch; }
.story-body p + p { margin-top: 22px; }

.dropcap::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.76;
  padding: 0.1em 0.14em 0 0;
  color: var(--ink);
}

.story-body .text-link { margin-top: 34px; }

/* services ----------------------------------------------------------------- */
.services { position: relative; overflow: hidden; }

.services-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 76px);
}

.services-head > div { grid-column: 1 / span 8; }
.services-head .aside { grid-column: 10 / span 3; padding-bottom: 6px; }

.services-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}

.service {
  padding: 34px 34px 0 0;
}

.service + .service {
  border-left: 1px solid var(--line-dark);
  padding-left: 34px;
}

.service h3 { color: var(--ivory); margin-bottom: 14px; }

.service p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted-dark);
  max-width: 38ch;
}

.services-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(44px, 4.4vw, 64px);
}

.watermark {
  position: absolute;
  top: 6%;
  right: -5%;
  width: clamp(230px, 27vw, 430px);
  height: auto;
  opacity: 0.1;
  filter: invert(1);
  pointer-events: none;
  z-index: 0;
}

.services .shell { position: relative; z-index: 1; }

/* gallery ------------------------------------------------------------------ */
.gallery {
  padding-block: var(--section-y) calc(var(--section-y) * 0.82);
  overflow: hidden;
}

.gallery-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: end;
}

.gallery-head > div:first-child { grid-column: 1 / span 7; }

.gallery-side {
  grid-column: 9 / span 4;
  display: grid;
  gap: 22px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.counter {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.14em;
  margin-right: 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.counter-sep { padding-inline: 7px; color: var(--muted); }

.arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: square;
}

.arrow:hover:not(:disabled) { background: var(--ink); color: var(--warm); }
.arrow:disabled { opacity: 0.3; cursor: default; }

.track {
  display: flex;
  gap: var(--card-gap);
  margin-top: clamp(40px, 4.4vw, 64px);
  padding-left: var(--edge);
  padding-right: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--edge);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }

.work-card {
  flex: 0 0 var(--card);
  scroll-snap-align: start;
}

.work-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(14, 14, 12, 0.07);
}

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

.work-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-light);
}

.work-name {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.work-meta {
  font-family: var(--font-sans);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* approach ----------------------------------------------------------------- */
.approach { position: relative; overflow: hidden; }

.approach-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}

.approach-head { grid-column: 1 / span 6; }
.approach-body { grid-column: 8 / span 5; }

.approach-body > p { color: var(--muted-dark); max-width: 52ch; }

.rule-list {
  margin-block: 34px;
  border-top: 1px solid var(--line-dark);
}

.rule-list li {
  padding-block: 15px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
}

.pullquote {
  margin-block: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}

.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--ivory);
  max-width: 26ch;
}

.pullquote footer {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.peony {
  position: absolute;
  left: -7%;
  bottom: 8%;
  width: clamp(200px, 23vw, 350px);
  height: auto;
  opacity: 0.07;
  filter: invert(1);
  pointer-events: none;
  z-index: 0;
}

/* inquiry ------------------------------------------------------------------ */
.inquiry { background: var(--ivory); }

.inquiry-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: clamp(52px, 6vw, 88px);
}

.inquiry-head { grid-column: 1 / span 6; }
.inquiry-head h2 { font-size: var(--display-3); margin-top: 24px; }
.inquiry-side { grid-column: 8 / span 5; }

.contact {
  display: grid;
  gap: 20px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}

.contact dt {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 5px;
}

.contact dd { margin: 0; font-size: 17px; }
.contact a { border-bottom: 1px solid var(--line-light); padding-bottom: 2px; }
.contact a:hover { border-bottom-color: var(--ink); }

/* form */
.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 44px;
  padding-top: 42px;
  border-top: 1px solid var(--line-light);
}

.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field label,
.hp label {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.opt {
  letter-spacing: 0.12em;
  opacity: 0.75;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  padding-block: 14px;
}

.field select {
  appearance: none;
  padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E0E0C' stroke-width='1.1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-bottom-color: transparent;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(14, 14, 12, 0.35); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 6px;
}

.form-note {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* stamp close */
.stamp-block {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-top: clamp(72px, 9vw, 132px);
  text-align: center;
}

.stamp {
  width: clamp(220px, 26vw, 330px);
  height: auto;
  margin-bottom: 30px;
}

.colophon {
  width: min(100%, 560px);
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* footer ------------------------------------------------------------------- */
.site-foot {
  background: var(--ink);
  color: var(--ivory);
  padding-block: clamp(44px, 5vw, 64px) 26px;
  --muted: var(--muted-dark);
  --line: var(--line-dark);
}

.foot-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px 28px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.foot-top .brand { grid-column: 1 / span 4; }
.brand--sm img { height: 28px; }
.brand--sm .brand-name { font-size: 12px; }

.foot-nav {
  grid-column: 5 / span 5;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.foot-links {
  grid-column: 10 / span 3;
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* simple pages (thanks / 404) ---------------------------------------------- */
.plain {
  min-height: calc(100svh - 72px);
  display: grid;
  place-items: center;
  padding-block: clamp(72px, 10vw, 140px);
  text-align: center;
}

.plain h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  margin-bottom: 26px;
}

.plain p {
  max-width: 42ch;
  margin-inline: auto;
  color: var(--muted);
}

.plain .text-link { margin-top: 34px; }

/* motion ------------------------------------------------------------------- */
html.motion .hero-photo {
  opacity: 0;
  transform: translateY(18px) scale(0.994);
}

html.motion.ready .hero-photo {
  opacity: 1;
  transform: none;
  transition: opacity 900ms var(--ease), transform 1100ms var(--ease);
}

html.motion .hero-title .ln {
  opacity: 0;
  transform: translateY(12px);
}

html.motion.ready .hero-title .ln {
  opacity: 1;
  transform: none;
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
  transition-delay: calc(160ms + var(--i, 0) * 90ms);
}

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

/* responsive --------------------------------------------------------------- */
@media (max-width: 1180px) {
  :root { --card: clamp(330px, 40vw, 430px); }
  .hero-botanical { opacity: 0.72; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 52px); }
  .hero-copy,
  .hero-photo { grid-column: 1 / -1; }
  .hero-copy { max-width: 660px; }
  .hero-photo { max-width: 520px; }
  .hero-botanical {
    left: 0;
    top: 0;
    height: 320px;
    max-width: none;
    transform: translate(-46%, -4%);
    opacity: 0.34;
  }

  .story-grid,
  .services-head,
  .gallery-head,
  .approach-grid,
  .inquiry-top { display: block; }

  .story-head { padding-right: 0; }
  .story-head::after { display: none; }
  .story-body { margin-top: 40px; max-width: 640px; }

  .services-head .aside { margin-top: 20px; }
  .services-cols { grid-template-columns: 1fr; border-top: 0; }
  .service { padding: 28px 0; border-top: 1px solid var(--line-dark); }
  .service + .service { border-left: 0; padding-left: 0; }
  .services-foot { justify-content: flex-start; }

  .gallery-side { margin-top: 28px; align-items: start; }
  .carousel-controls { margin-top: 6px; }

  .approach-body { margin-top: 36px; max-width: 640px; }
  .peony { opacity: 0.05; }

  .inquiry-side { margin-top: 34px; }
  .foot-top { grid-template-columns: 1fr; justify-items: start; row-gap: 18px; }
  .foot-top .brand,
  .foot-nav,
  .foot-links { grid-column: 1; }
  .foot-nav,
  .foot-links { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  :root { --card: clamp(300px, 58vw, 400px); }
}

@media (max-width: 700px) {
  :root {
    --section-y: clamp(72px, 16vw, 96px);
    --display: clamp(38px, 10.4vw, 56px);
    --display-2: clamp(30px, 8.4vw, 44px);
    --display-3: clamp(34px, 9.6vw, 52px);
    --card: 78vw;
    --card-gap: 18px;
  }

  body { font-size: 17px; }
  .brand img { height: 28px; }
  .brand-name { font-size: 12px; letter-spacing: 0.16em; }

  .hero { padding-block: 40px 56px; }
  .hero-title { margin-block: 20px 22px; }
  .hero-actions { gap: 14px 24px; }
  .hero-actions .btn { flex: 1 1 190px; }
  .hero-botanical { height: 250px; top: -24px; left: 0; transform: translate(-52%, 0); opacity: 0.26; }
  .hero-photo { max-width: none; }

  .story-title { margin-top: 18px; }
  .script-line { font-size: clamp(52px, 15vw, 76px); }
  .story-body { margin-top: 30px; }

  .inquiry-form { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .field--full { grid-column: auto; }
  .form-actions { flex-direction: column; align-items: flex-start; }
  .form-actions .btn { width: 100%; }

  .counter { font-size: 14px; margin-right: 2px; }
  .arrow { width: 42px; height: 42px; }

  .pullquote p { max-width: 24ch; }
  .work-name { font-size: 17px; }
  .foot-nav, .foot-links { flex-wrap: wrap; gap: 6px 20px; }
}

@media (max-width: 420px) {
  .hero-actions .btn { flex: 1 1 100%; }
}
