/* Framekite Studio
   Ink, ivory and a small amount of brass. Fraunces for headlines, Outfit for the rest.
   Brass is for thin lines and small text only, never a filled area.
   Spaced capitals appear twice: "STUDIO" in the logo and the mission line in the footer.
   Corner marks belong to film frames and nothing else. */

:root {
  color-scheme: dark;

  --ink: #0E1116;
  --charcoal: #1B1F27;
  --ivory: #F3EFE6;
  --brass: #C2A15A;
  --brass-deep: #9A7B3C;   /* lines on ivory */
  --brass-text: #7D6230;   /* small text on ivory, dark enough to read */
  --stone: #8C8A84;
  --mist: #D9D4C8;         /* body text on ink */
  --graphite: #3B3E44;     /* body text on ivory */
  --alert: #9B2C20;

  --line-dark: rgba(243, 239, 230, 0.14);
  --line-light: rgba(14, 17, 22, 0.16);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);

  --radius: 4px;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 152px);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
a, button, summary, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  color: var(--ivory);
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); line-height: 1.02; letter-spacing: -0.022em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; }
p { text-wrap: pretty; }

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

/* The short brass rule from the brand banners: used once, under the mission line */
.rule {
  display: block;
  width: 64px;
  height: 1.5px;
  background: var(--brass);
  margin-block: clamp(26px, 3vw, 38px);
}

/* Fine corner marks, like the corners of a film frame */
.corners {
  position: relative;
  --len: 22px;
  --th: 1.5px;
  --off: 14px;
}
.corners::after {
  content: "";
  position: absolute;
  inset: calc(var(--off) * -1);
  pointer-events: none;
  opacity: 0.85;
  background:
    linear-gradient(var(--brass) 0 0) 0 0 / var(--len) var(--th),
    linear-gradient(var(--brass) 0 0) 0 0 / var(--th) var(--len),
    linear-gradient(var(--brass) 0 0) 100% 0 / var(--len) var(--th),
    linear-gradient(var(--brass) 0 0) 100% 0 / var(--th) var(--len),
    linear-gradient(var(--brass) 0 0) 0 100% / var(--len) var(--th),
    linear-gradient(var(--brass) 0 0) 0 100% / var(--th) var(--len),
    linear-gradient(var(--brass) 0 0) 100% 100% / var(--len) var(--th),
    linear-gradient(var(--brass) 0 0) 100% 100% / var(--th) var(--len);
  background-repeat: no-repeat;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius);
  font: 500 1rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 120ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn--solid { background: var(--ivory); color: var(--ink); }
.btn--line { box-shadow: inset 0 0 0 1px var(--brass); color: var(--ivory); background: transparent; }
.btn svg { margin-left: -2px; }
.btn__label { display: inline-block; }
.btn__label::first-letter { text-transform: uppercase; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 500 1rem/1 var(--sans);
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition: text-decoration-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: #fff; }
  .btn--line:hover { box-shadow: inset 0 0 0 1px var(--ivory); }
  .text-link:hover { text-decoration-color: currentColor; }
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ivory);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
}
.skip:focus { top: 12px; }

.setup-note {
  margin: 0;
  padding: 10px var(--gutter);
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.9rem;
  text-align: center;
}
.setup-note code { font-size: 0.95em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}
.site-nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  margin-left: auto;
}
.site-nav a,
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 400 0.98rem/1 var(--sans);
  color: var(--mist);
  text-decoration: none;
  transition: color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover,
  .site-footer__nav a:hover { color: var(--ivory); }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ivory);
  --kite-cut: var(--ink);
}
.logo__mark { width: 30px; height: 39px; flex: none; }
.logo__word { display: grid; gap: 5px; }
.logo__name {
  font: 500 1.6rem/0.9 var(--serif);
  letter-spacing: -0.015em;
}
.logo__sub {
  font: 500 0.56rem/1 var(--sans);
  letter-spacing: 0.56em;
  text-transform: uppercase;
  color: var(--brass);
  padding-left: 2px;
}

/* Hero */
.hero {
  background: radial-gradient(120% 90% at 50% 38%, var(--charcoal) 0%, var(--ink) 68%);
  padding-block: clamp(56px, 8vw, 112px) clamp(72px, 9vw, 128px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.lede {
  max-width: 33em;
  font-size: clamp(1.1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 32px;
  margin-top: clamp(32px, 4vw, 44px);
}

/* The still that goes in, the string, and the film that comes back */
.demo {
  position: relative;
  width: min(100%, 500px);
  justify-self: end;
  padding: 14px 14px 0 0;
}
.demo figcaption {
  margin-top: 30px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--stone);
}
.demo__film {
  width: 58%;
  margin-left: auto;
}
.demo__still {
  position: absolute;
  left: 0;
  top: 47%;
  width: 31%;
}
.demo__still svg {
  width: 100%;
  height: auto;
  transform: rotate(-5deg);
  transform-origin: 50% 0;
  font-family: var(--sans);
  border-radius: 9px;
  outline: 1px solid rgba(14, 17, 22, 0.12);
  outline-offset: -1px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    0 14px 30px -12px rgba(0, 0, 0, 0.6);
}
.demo__still figcaption { margin-top: 22px; }
.demo__string {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.demo__string path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
}

/* The one staged moment on the page: the string unfurls upward from the still, then the film lifts in */
@keyframes draw { from { clip-path: inset(52% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lift { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.intro .demo__string { animation: draw 900ms var(--ease-in-out) 350ms both; }
.intro .demo__film { animation: lift 650ms var(--ease-out) 1050ms both; }

/* A film frame: a 9:16 screen inside corner marks */
.frame__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  outline: 1px solid rgba(243, 239, 230, 0.1);
  outline-offset: -1px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 30px 70px -30px rgba(0, 0, 0, 0.85);
}
.frame__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pause and play for the silent hero film */
.film__toggle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(14, 17, 22, 0.62);
  box-shadow: inset 0 0 0 1px rgba(243, 239, 230, 0.55);
  color: var(--ivory);
  cursor: pointer;
  transition: background-color 150ms ease, transform 120ms ease-out;
}
.film__toggle[hidden] { display: none; }
.film__toggle:active { transform: scale(0.97); }
.film__toggle[data-state="playing"] .i-play,
.film__toggle[data-state="paused"] .i-pause { display: none; }
@media (hover: hover) and (pointer: fine) {
  .film__toggle:hover { background: rgba(14, 17, 22, 0.85); }
}

/* Phone menu button; the section links drop down from the header */
.menu-btn { display: none; }

/* Privacy and not-found pages */
.page { min-height: 70vh; }
.prose { max-width: 40em; }
.prose h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: var(--ink); margin-bottom: clamp(24px, 3vw, 36px); }
.prose h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -0.015em; margin: 40px 0 10px; }
.prose p + p { margin-top: 14px; }
.prose a { color: var(--ink); text-decoration-color: var(--brass-deep); text-underline-offset: 4px; }
.prose .btn { margin-top: 32px; text-decoration: none; }
.prose .btn--solid { color: var(--ivory); }
.form__privacy { font-size: 0.92rem; }
.form__privacy a { color: var(--ink); text-decoration-color: var(--brass-deep); text-underline-offset: 4px; }

/* Sections */
.section { padding-block: var(--section); }
.section--ink { background: var(--ink); }
.section--ivory {
  color-scheme: light;
  background: var(--ivory);
  color: var(--graphite);
}
.section--ivory h2,
.section--ivory h3 { color: var(--ink); }
.section--ivory .btn--solid { background: var(--ink); color: var(--ivory); }
.section--ivory .btn--line { box-shadow: inset 0 0 0 1px var(--brass-deep); color: var(--ink); }
.section--ivory .text-link { color: var(--ink); text-decoration-color: var(--brass-deep); }
.section--ivory :focus-visible { outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .section--ivory .btn--solid:hover { background: var(--charcoal); }
  .section--ivory .btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
}

.head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 80px); }
.head--row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 16px clamp(32px, 6vw, 88px);
  align-items: end;
}
.head--row p { max-width: 30em; }

/* Work: two films side by side, each with its label on the outside, like wall labels in a gallery */
.films {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  padding-block: 14px;
}
.film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
  gap: clamp(28px, 3vw, 44px);
  align-items: start;
}
.film--a figcaption { order: -1; text-align: right; align-self: start; padding-top: 6px; }
.film--b figcaption { align-self: end; padding-bottom: 6px; }
.film--b { grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); margin-top: clamp(0px, 5vw, 72px); }
.film figcaption h3 { margin-bottom: 12px; }
.film figcaption p { font-size: 0.98rem; color: var(--stone); }

.film__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: linear-gradient(to top, rgba(14, 17, 22, 0.5), rgba(14, 17, 22, 0.08) 55%);
  cursor: pointer;
}
.film__play-ring {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(14, 17, 22, 0.55);
  box-shadow: inset 0 0 0 1.5px var(--ivory);
  transition: transform 150ms ease-out, background-color 150ms ease;
}
.film__play-ring::after {
  /* the triangle sits a little right of centre so that it looks centred */
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -36% -50%;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--ivory);
}
@media (hover: hover) and (pointer: fine) {
  .film__play:hover .film__play-ring { transform: scale(1.05); background: rgba(14, 17, 22, 0.75); }
}
.film__play:active .film__play-ring { transform: scale(0.97); }
.film__play:focus-visible { outline-offset: -6px; }
.film.is-playing .film__play { display: none; }

/* Work: a row of five product films above the pair */
.reel__label {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: clamp(20px, 2.4vw, 30px);
}
.reel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}
.reel .film { display: block; width: auto; margin: 0; }
.reel .film figcaption { margin-top: 16px; }
.reel .film figcaption h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 4px;
}
.reel .film figcaption p { font-size: 0.9rem; }
.reel .film__play-ring { width: 54px; height: 54px; }
.reel .film__play-ring::after { border-width: 8px 0 8px 13px; }
.reel__note {
  font-size: 0.92rem;
  color: var(--stone);
  margin-top: clamp(22px, 2.6vw, 32px);
  margin-bottom: clamp(64px, 9vw, 120px);
}
@media (max-width: 1040px) {
  /* a row to swipe through, bleeding to the screen edge */
  .reel {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(58vw, 250px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  .reel .film { scroll-snap-align: start; }
}

/* Statement and services */
.statement {
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.statement span { display: block; }
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(52px, 8vw, 104px);
}
.service h3 { margin-bottom: 12px; }
.service p { max-width: 26em; }

/* Process: ink on one side, charcoal on the other, a brass line between */
.section--split {
  background: linear-gradient(to right, var(--ink) 0 41.5%, var(--charcoal) 41.5% 100%);
  position: relative;
}
.section--split::before {
  content: "";
  position: absolute;
  left: 41.5%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--brass);
  opacity: 0.7;
}
.process {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 9vw, 136px);
  align-items: start;
}
.process__intro h2 { margin-bottom: clamp(20px, 2.4vw, 30px); }
.process__intro p { max-width: 24em; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 12px;
  padding-block: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line-dark);
}
.step:first-child { border-top: 0; padding-top: 0; }
.step:last-child { padding-bottom: 0; }
.step__n {
  font: 500 2.6rem/1 var(--serif);
  color: var(--brass);
}
.step h3 { margin-bottom: 8px; }

/* Pricing: a rate card. Each row is one link that opens the request form with that option chosen. */
.rates { border-top: 1px solid var(--line-light); }
.rate {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(4.6ch, auto) auto;
  gap: 8px clamp(20px, 4vw, 56px);
  align-items: baseline;
  position: relative;
  padding-block: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--line-light);
  color: inherit;
  text-decoration: none;
}
.rate::before {
  /* the hover tint reaches a little past the text on both sides; the lines stay put */
  content: "";
  position: absolute;
  inset: 0 -16px;
  z-index: 0;
  background: rgba(14, 17, 22, 0);
  transition: background-color 150ms ease;
}
.rate > * { position: relative; z-index: 1; }
.rate__name {
  font: 500 clamp(1.5rem, 2.5vw, 2.05rem)/1.15 var(--serif);
  letter-spacing: -0.015em;
  color: var(--ink);
}
.rate__note { max-width: 30em; }
.rate__price {
  font: 500 clamp(2rem, 3.6vw, 3rem)/1 var(--serif);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: right;
}
.rate__go {
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brass-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition: text-decoration-color 150ms ease;
}
.rate:active::before { background: rgba(14, 17, 22, 0.07); }
@media (hover: hover) and (pointer: fine) {
  .rate:hover::before { background: rgba(14, 17, 22, 0.045); }
  .rate:hover .rate__go { text-decoration-color: var(--ink); }
}

.included {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 20px clamp(20px, 4vw, 56px);
}
.included ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px clamp(28px, 4vw, 56px);
}
.included li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
}
.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 1.5px;
  background: var(--brass-deep);
}
.terms {
  margin-top: 30px;
  font-size: 0.98rem;
  max-width: 46em;
}
.included--pay { margin-top: clamp(36px, 4vw, 52px); }
.included .pay { display: flex; }

/* Ways to pay: each mark in one colour beside its name */
.pay {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(22px, 3vw, 40px);
}
.pay li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-weight: 500;
  color: var(--ink);
}
.pay li::before { content: none; }
.pay__mark { width: 22px; height: 22px; flex: none; }
.faq .pay { padding: 0 52px 28px 0; margin-top: -8px; }
.faq .pay li { color: var(--ivory); font-weight: 400; }

/* Questions */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}
.faq__list { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  position: relative;
  display: block;
  padding: 24px 52px 24px 0;
  font: 500 clamp(1.15rem, 1.7vw, 1.35rem)/1.3 var(--serif);
  letter-spacing: -0.01em;
  color: var(--ivory);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 15px;
  height: 1.5px;
  background: var(--brass);
  transition: transform 200ms var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 52px 26px 0; max-width: 40em; }
@keyframes answer { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq details[open] p,
.faq details[open] .pay { animation: answer 200ms var(--ease-out); }

/* Request a first look */
.enquire {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: start;
}
.enquire__copy h2 { margin-bottom: clamp(20px, 2.4vw, 30px); }
.direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(32px, 4vw, 48px);
}
.direct p { flex-basis: 100%; color: var(--ink); }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}
.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field label {
  font: 500 0.95rem/1.4 var(--sans);
  color: var(--ink);
}
.optional {
  font-weight: 400;
  color: var(--brass-text);
  margin-left: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(14, 17, 22, 0.34);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.field textarea { resize: vertical; min-height: 132px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230E1116' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input::placeholder,
.field textarea::placeholder { color: #6F6D67; }
@media (hover: hover) and (pointer: fine) {
  .field input:hover,
  .field select:hover,
  .field textarea:hover { border-color: var(--ink); }
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  background-color: rgba(255, 255, 255, 0.8);
}
.field.is-invalid input { border-color: var(--alert); }
.field__error { font-size: 0.9rem; color: var(--alert); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 6px;
}
.form__status { color: var(--ink); font-size: 0.98rem; flex: 1 1 240px; }
.form__status.is-error { color: var(--alert); }
.btn[aria-busy="true"] { opacity: 0.65; cursor: progress; }

/* Footer */
.site-footer {
  background: var(--ink);
  padding-block: clamp(48px, 6vw, 80px) 32px;
}
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px 48px;
}
.tagline {
  margin-top: 20px;
  font: 400 0.74rem/1.6 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mist);
}
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 0 32px; }
.site-footer__base {
  margin-top: clamp(32px, 5vw, 56px);
  font-size: 0.88rem;
  color: var(--stone);
}
.site-footer__base p { padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* Tablet */
@media (max-width: 1040px) {
  .films { grid-template-columns: minmax(0, 1fr); gap: 72px; }
  .film,
  .film--b { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); margin-top: 0; }
  .film--a figcaption { order: 0; text-align: left; }
  .film--a figcaption,
  .film--b figcaption { align-self: center; padding: 0; max-width: 24em; }
  .film--b { margin-left: auto; width: 100%; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .demo { justify-self: center; width: min(100%, 440px); }
  .faq,
  .enquire,
  .process { grid-template-columns: minmax(0, 1fr); }
  .section--split { background: var(--ink); }
  .section--split::before { display: none; }
  .steps {
    padding: clamp(24px, 5vw, 44px);
    background: var(--charcoal);
    box-shadow: inset 1px 0 0 var(--brass);
  }
  .included { grid-template-columns: minmax(0, 1fr); }
  .rate { grid-template-columns: minmax(0, 1fr) auto; }
  .rate__name { grid-column: 1; grid-row: 1; }
  .rate__price { grid-column: 2; grid-row: 1; }
  .rate__note { grid-column: 1 / -1; }
  .rate__go { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
}

/* Phone */
@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  .site-header__row { gap: 8px; min-height: 64px; }
  .logo { margin-right: auto; }
  .logo__name { font-size: 1.45rem; }
  .site-header .btn--small { padding: 0 14px; }

  .js .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: none;
    color: var(--ivory);
    cursor: pointer;
  }
  .menu-btn span,
  .menu-btn span::before {
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: transform 200ms var(--ease-out);
  }
  .menu-btn span { position: relative; transform: translateY(-3.5px); }
  .menu-btn span::before { content: ""; position: absolute; left: 0; top: 7px; }
  .menu-btn[aria-expanded="true"] span { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(-7px) rotate(-90deg); }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 4px var(--gutter) 12px;
    background: var(--ink);
    box-shadow: 0 1px 0 var(--line-dark), 0 28px 40px -24px rgba(0, 0, 0, 0.8);
  }
  .site-nav.is-open { display: flex; animation: answer 200ms var(--ease-out); }
  .site-nav a { min-height: 54px; font-size: 1.1rem; color: var(--ivory); border-bottom: 1px solid var(--line-dark); }
  .site-nav a:last-child { border-bottom: 0; }
  .wide-only { display: none; }

  .actions .btn { width: 100%; }
  .demo figcaption { font-size: 0.88rem; margin-top: 26px; }
  .demo__still figcaption { margin-top: 12px; }

  .head--row { grid-template-columns: minmax(0, 1fr); }
  .film,
  .film--b { grid-template-columns: minmax(0, 1fr); width: min(86%, 320px); margin-inline: auto; gap: 34px; }

  .services { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .included ul { grid-template-columns: minmax(0, 1fr); }

  .step { grid-template-columns: 48px minmax(0, 1fr); }
  .step__n { font-size: 2.1rem; }

  .form { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn,
  .direct .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro .demo__string,
  .intro .demo__film,
  .faq details[open] p,
  .faq details[open] .pay,
  .site-nav.is-open { animation: none; }
  .film__toggle,
  .menu-btn span,
  .menu-btn span::before,
  .btn,
  .film__play-ring,
  .faq summary::before,
  .faq summary::after,
  .rate::before,
  .rate__go,
  .text-link,
  .site-nav a,
  .site-footer__nav a,
  .field input,
  .field select,
  .field textarea { transition: none; }
  .btn:active,
  .film__toggle:active,
  .film__play:active .film__play-ring { transform: none; }
}
