@font-face {
  font-family: DM Sans;
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: DM Serif;
  src: url("./assets/dm-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #12312e;
  --deep: #092d2a;
  --forest: #16433e;
  --sea: #a1e3d5;
  --paper: #f6f8f2;
  --mint: #e1eee7;
  --muted: #465d56;
  --border: #b9d1c5;
  --gutter: clamp(1.15rem, 4vw, 3.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 "DM Sans", Arial, sans-serif;
}
body, h1, h2, h3, p, ol { margin-block: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #087e73; outline-offset: 4px; }
.opening a:focus-visible, .header a:focus-visible, .footer a:focus-visible { outline-color: var(--sea); }
::selection { color: var(--deep); background: var(--sea); }

.wrap {
  width: min(calc(100% - var(--gutter) * 2), 83rem);
  margin-inline: auto;
}

.skip {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 4;
  padding: .6rem 1rem;
  color: var(--deep);
  background: var(--paper);
  transform: translateY(-170%);
}
.skip:focus { transform: none; }

.opening {
  color: var(--paper);
  padding-top: 5.75rem;
  background:
    linear-gradient(180deg, #062723e0 0%, #092d2a33 24%, transparent 48%),
    linear-gradient(90deg, #082e2c 0%, #092e2ce8 25%, #0a3430bf 47%, #092d2a54 73%),
    linear-gradient(0deg, #082c29 0%, transparent 41%),
    url("./assets/estudio.webp") right center / cover no-repeat;
  background-color: var(--deep);
}

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  color: var(--paper);
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 4vw, 3rem);
  border-bottom: 1px solid #f6f8f236;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  min-height: 3rem;
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand img {
  width: 3.15rem;
  height: 3.15rem;
  object-fit: contain;
  filter: brightness(1.52) saturate(.78);
}

nav { display: flex; align-items: center; gap: clamp(.65rem, 2.8vw, 2.35rem); margin-left: auto; }
nav a, .footer-links a { display: inline-flex; align-items: center; gap: .32rem; min-height: 2.75rem; font-size: .96rem; }
nav a:hover, .footer-links a:hover { color: var(--sea); text-decoration: underline; text-underline-offset: .28rem; }

.hero {
  min-height: clamp(40rem, calc(100svh - 5.75rem), 53rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 21rem);
  align-items: center;
  gap: clamp(2rem, 8vw, 9rem);
  padding-block: clamp(4rem, 11vh, 7rem);
}

.hero-copy { animation: enter .66s ease-out both; }
.eyebrow { margin-bottom: 1.2rem; color: #306158; font-size: .81rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.hero .eyebrow { color: var(--sea); }
.mark { display: inline-block; vertical-align: .13em; width: 1.25rem; height: 1px; margin-right: .45rem; background: currentColor; }

h1, h2 {
  font-family: "DM Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.027em;
  text-wrap: balance;
}

h1 { max-width: 10ch; font-size: clamp(3.15rem, 7.2vw, 7rem); }
h1 em { color: var(--sea); font-style: normal; }
h2 { max-width: 15ch; font-size: clamp(2.32rem, 4.9vw, 4.45rem); }
h3 { font-size: 1.13rem; line-height: 1.32; }
.hero-lead { max-width: 34ch; margin-top: 1.55rem; color: #eef8f2; font-size: clamp(1.06rem, 1.55vw, 1.26rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2.25rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .64rem;
  min-height: 3.25rem;
  padding: .62rem 1.34rem;
  border: 1px solid transparent;
  border-radius: 10rem;
  background: var(--sea);
  color: var(--deep);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover { background: #c5efdf; }
.button-header { min-height: 2.75rem; padding-inline: 1.1rem; }
.button-outline { background: transparent; border-color: #e5f4ed85; color: var(--paper); }
.button-outline:hover { background: #e2f0e626; border-color: var(--paper); }

.hero-notes { display: grid; gap: .8rem; margin-top: 6rem; }
.hero-notes div {
  display: grid;
  gap: .17rem;
  border: 1px solid #a1e3d563;
  border-left: 3px solid var(--sea);
  border-radius: .75rem;
  padding: .9rem 1rem .9rem 1.17rem;
  background: #0b3532e8;
}
.hero-notes strong { font-size: .95rem; line-height: 1.2; }
.hero-notes span { color: #d1eee1; font-size: .86rem; }

.section { padding-block: clamp(3.9rem, 8vw, 7.8rem); scroll-margin-top: 1rem; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: clamp(2.1rem, 7vw, 7.1rem); }
.studio-image { width: 100%; height: auto; aspect-ratio: 1.46; object-fit: cover; border-radius: .7rem; background: var(--mint); }
.studio-copy p:not(.eyebrow), address { max-width: 38ch; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1.03rem, 1.4vw, 1.16rem); }
address { font-style: normal; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; min-height: 2.75rem; margin-top: .7rem; color: #23574c; font-weight: 700; text-decoration: underline; text-underline-offset: .27rem; }

.process { background: var(--mint); }
.process h2 { max-width: 20ch; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 4vw, 3.9rem);
  margin-block: clamp(2rem, 5vw, 4rem);
  padding: 0;
  list-style: none;
}
.steps li { border-top: 1px solid #8dac9e; padding-top: 1.12rem; }
.step-number { display: block; margin-bottom: .77rem; color: #3d6b60; font-size: .88rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.steps p { max-width: 30ch; margin-top: .55rem; color: var(--muted); }
.process .button, .button-location { color: var(--paper); background: var(--forest); }
.process .button:hover, .button-location:hover { background: var(--deep); }
.button-location { margin-top: 1.4rem; }
.location .studio-grid { grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); }
.location-image { aspect-ratio: 1.6; object-position: center 33%; }

.footer { background: var(--deep); color: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; min-height: 6.6rem; padding-block: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; column-gap: 1.2rem; }

@keyframes enter {
  from { transform: translateY(.62rem); }
  to { transform: translateY(0); }
}

@media (max-width: 760px) {
  .opening {
    padding-top: 6.3rem;
    background:
      linear-gradient(90deg, #082e2cf5 0%, #082e2cde 41%, #082e2c9c 100%),
      linear-gradient(0deg, #082c29 0%, #082c2900 45%),
      url("./assets/estudio.webp") 55% center / cover no-repeat;
  }
  .header { justify-content: space-between; flex-wrap: wrap; gap: 0 1rem; padding-top: .62rem; }
  .header nav { order: 3; flex: 0 0 100%; margin-left: 0; gap: 1.18rem; }
  .header .brand img { width: 2.8rem; height: 2.8rem; }
  .header .button { padding-inline: .88rem; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 1.55rem; padding-block: clamp(3.2rem, 10vw, 4.6rem) 2.45rem; }
  .hero-lead { margin-top: 1.16rem; }
  .actions { margin-top: 1.56rem; }
  .hero-notes { margin-top: 0; }
  .studio-grid, .location .studio-grid { grid-template-columns: 1fr; }
  .studio-grid .studio-copy { grid-row: 1; }
  .steps { grid-template-columns: 1fr; gap: 1.28rem; }
  .steps li { padding-top: .85rem; }
  .step-number { margin-bottom: .56rem; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { animation: none; }
  .button { transition: none; }
}
