@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/nunito-sans-400.ttf") format("truetype"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("./fonts/nunito-sans-600.ttf") format("truetype"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("./fonts/nunito-sans-700.ttf") format("truetype"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("./fonts/nunito-sans-800.ttf") format("truetype"); }

:root {
  color-scheme: light;
  --paper: #ede7d9;
  --ink: #282921;
  --clay: #7d4334;
  --cream: #fff0dc;
  --sand: #d9c9a8;
  --radius: 15px;
  --gap: clamp(16px, 2vw, 28px);
  --pad: clamp(26px, 4.3vw, 62px);
  --mono: "Nunito Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 19px/1.65 "Nunito Sans", Arial, sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
svg { display: block; }
.wrap { width: min(100% - clamp(28px, 8vw, 144px), 1240px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; padding: 10px; background: var(--paper); transform: translateY(-160%); z-index: 1; }
.skip:focus { transform: translateY(0); }
.micro {
  font: 700 13px/1.45 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.masthead, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.masthead {
  min-height: 80px;
  margin-bottom: 14px;
  border-bottom: 1px solid #28292133;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.035em;
}
.brand img { width: 38px; height: 38px; border-radius: 3px; }
.nav { display: flex; gap: clamp(12px, 3vw, 36px); }
.nav a, .footer a { text-decoration: none; }
.nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.layout { display: grid; gap: var(--gap); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--gap); }
.panel { min-width: 0; border-radius: var(--radius); }
.hero {
  min-height: clamp(470px, 44vw, 600px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: var(--pad);
  background: #654936;
  color: var(--cream);
}
.hero > div:first-child { margin-block: auto; }
h1, h2 {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
}
h1 { font-size: clamp(64px, 8.3vw, 126px); color: var(--cream); }
h1 span { display: block; }
.name-period { color: #431b0a; font-weight: inherit; }
.hero-services {
  margin-top: 26px;
  color: #f6deca;
  font-size: clamp(17px, 1.4vw, 19px);
  letter-spacing: .025em;
}
.hero-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  font-size: 17px;
  text-decoration-color: #fff0dc90;
  text-underline-offset: 5px;
}
.hero-email:hover { text-decoration-color: currentColor; }
.mail-plane { flex: none; width: 18px; height: 18px; }
.hero-email:is(:hover, :focus-visible) .mail-plane, .contact .button:is(:hover, :focus-visible) .mail-plane {
  animation: plane-takeoff .7s ease both;
}
@keyframes plane-takeoff {
  25% { transform: translate(-2px, 2px) rotate(5deg); }
  62% { opacity: 0; transform: translate(12px, -12px) rotate(-8deg); }
  63% { opacity: 0; transform: translate(-3px, 3px); }
  100% { opacity: 1; transform: none; }
}
.hero-instagram {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  border-radius: 8px;
}
.hero-instagram:hover { background: #fff0dc1a; }
.hero-instagram svg { width: 25px; height: 25px; }
.button {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 7px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  transition: background-color .18s, color .18s;
}
.image-panel { position: relative; overflow: hidden; background: #302f23; }
.image-panel img { filter: brightness(.95); position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.records { padding: var(--pad); }
.about {
  display: grid;
  gap: 28px;
  padding: var(--pad);
  background: var(--sand);
}
.about h2 { margin-bottom: 0; }
.featured {
  padding: var(--pad);
  background: #b3b09a;
  color: var(--ink);
}
.featured-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 28px;
}
.video-stage {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}
.video-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--cream);
}
.video-play:focus-visible { outline-offset: -6px; }
.play-icon {
  position: relative;
  background: #282921b3;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid #fff0dc80;
  border-radius: 50%;
}
.play-icon svg { width: 24px; height: 24px; fill: currentColor; }
.video-play:hover .play-icon { background: #282921e6; border-color: currentColor; }
.video-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-video figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 12px;
  font-size: 18px;
}
.featured-video figcaption span:first-child { font-weight: 700; }
.featured-videos iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
}
.about-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.about-copy {
  max-width: 68ch;
  font-size: clamp(18px, 1.5vw, 20px);
}
.about-copy p + p { margin-top: 24px; }
.about-intro { font-size: inherit; }
.about-photo { align-self: center; }
.about-photo img { aspect-ratio: 4 / 5; }
h2 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.08; }
h3 { margin-bottom: 7px; font-size: clamp(22px, 2.25vw, 30px); letter-spacing: -.035em; line-height: 1.15; }
.records-point {
  padding-top: 16px;
  border-top: 1px solid #28292140;
}
.records-point h3 { font-size: 19px; }
.records-point p { max-width: 52ch; font-size: 16px; }
.records { background: #654936; color: var(--cream); }
.records .records-point { border-top-color: #fff0dc66; }
.records-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: 24px;
}
.records-copy { max-width: none; margin-top: 28px; font-size: clamp(18px, 1.5vw, 20px); }
.records-copy p + p { margin-top: 24px; }
.studio-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 32px; }
.studio-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1.15 / 1; object-fit: cover; object-position: center 65%; border-radius: 8px; }
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.about-portrait img { aspect-ratio: 4 / 5; object-position: 36% center; }
.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--gap);
}
.contact-visual { position: relative; overflow: hidden; min-height: 420px; }
.contact-copy { padding: var(--pad); background: #e4b99d; min-height: 420px; }
.contact-copy { display: grid; align-content: center; justify-items: start; text-align: left; }
.contact h2 { text-align: left; }
.contact-copy p { max-width: 30ch; margin-top: 24px; font-size: 20px; line-height: 1.5; }
.contact-actions { display: grid; grid-auto-rows: 1fr; gap: 12px; width: 280px; max-width: 100%; margin-top: 28px; }
.contact-actions .button { display: flex; justify-content: space-between; width: 100%; min-height: 52px; padding: 12px 20px; overflow-wrap: anywhere; }
.contact-actions .button:first-child { background: #654936; border-color: #654936; color: var(--cream); }
.contact-copy .button:hover { background: var(--ink); color: var(--cream); }
.contact-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.instagram-link svg { flex: none; width: 18px; height: 18px; }
.footer { padding-block: 24px; }
section[id] { scroll-margin-top: 16px; }

@media (max-width: 790px) {
  h1 { font-size: clamp(58px, 11vw, 86px); }
  .hero { min-height: 420px; }
  .records-points { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .masthead { min-height: 64px; flex-wrap: wrap; padding-block: 12px; }
  .nav { font-size: 12px; gap: 12px; }
  .hero-grid, .about-columns, .contact, .featured-videos, .studio-photos { grid-template-columns: 1fr; }
  .contact-visual { min-height: 0; aspect-ratio: 3 / 2; }
  .contact-copy { min-height: 0; }
  .about-photo { max-width: 440px; }
  .about-photo img { aspect-ratio: 3 / 2; }
  .hero { min-height: 395px; }
  .image-panel { width: 100%; aspect-ratio: 1.12; }
}
@media (max-width: 365px) {
  .nav { gap: 9px; font-size: 12px; }
  .brand { font-size: 14px; gap: 5px; }
  .brand img { width: 32px; height: 32px; }
}
@media (hover: none) {
  .mail-plane { animation: plane-takeoff .7s .45s ease both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .mail-plane, .hero-email:is(:hover, :focus-visible) .mail-plane, .contact .button:is(:hover, :focus-visible) .mail-plane { animation: none; }
}

/* Dock-like magnification for the main page panels. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .layout .panel {
    position: relative;
    transition: transform 2400ms cubic-bezier(.22, .61, .36, 1);
    transform-origin: center;
  }
  .layout .panel:hover {
    transition-duration: 800ms;
    z-index: 2;
    transform: scale(1.02);
  }
}
