:root {
  color-scheme: dark;
  --bg: #11181a;
  --ink: #edf5f5;
  --muted: #aec0c2;
  --ice: #c8ecf1;
  --line: #36474b;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; }
p, h1, h2, figure { margin: 0; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.top { min-height: 5.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: .55rem; align-items: center; font-family: var(--serif); font-size: 1.55rem; }
.spark { color: var(--ice); font-size: 1.3rem; }
nav { display: flex; gap: clamp(1.2rem, 3.5vw, 3.6rem); font-size: .9rem; color: var(--muted); }
nav a:hover, .text-link:hover { color: var(--ink); }
.top-book { padding: .6rem 1rem; border: 1px solid #6c8c91; border-radius: 100px; color: var(--ice); white-space: nowrap; font-size: .88rem; }
.top-book:hover { background: var(--ice); color: var(--bg); }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(2rem, 4vw, 5rem); align-items: center; padding-block: clamp(4rem, 7vw, 7rem) clamp(4rem, 6vw, 6rem); }
.hero-copy { animation: arrive .65s ease-out both; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { font-size: .875rem; font-weight: 560; letter-spacing: .13em; text-transform: uppercase; color: var(--ice); display: flex; gap: .7rem; align-items: center; }
.divider { width: 1.05rem; border-top: 1px solid currentColor; opacity: .6; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .96; letter-spacing: -.060em; }
h1 { font-size: clamp(3.75rem, 8.2vw, 8.4rem); margin-block: 1.15rem 1.5rem; }
h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
em { color: var(--ice); font-weight: inherit; }
.intro, .work-copy > p:last-child { color: var(--muted); font-size: clamp(1.03rem, 1.35vw, 1.18rem); line-height: 1.63; max-width: 24rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1.9rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.35rem; padding: .8rem 1.6rem; border-radius: 100px; background: var(--ice); color: #102124; font-weight: 650; transition: background .2s, box-shadow .2s; }
.button:hover { background: #e8fbff; box-shadow: 0 0 1.6rem #a8e8f039; }
.button:focus-visible { outline-color: var(--ice); }
.text-link { width: fit-content; color: var(--ice); text-decoration: underline; text-underline-offset: .27em; text-decoration-thickness: 1px; }
.hero-art { position: relative; min-width: 0; width: min(100%, 30rem); justify-self: center; }
.portrait-frame {
  aspect-ratio: .99;
  padding: .38rem;
  border: 1px solid #93afb1;
  border-radius: 47% 47% .35rem .35rem / 24% 24% .35rem .35rem;
  background: #263638;
}
.portrait-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  border-radius: inherit;
}
.art-spark { pointer-events: none; position: absolute; top: 4%; right: -.7rem; font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); line-height: 1; color: #e2fbff; text-shadow: 0 0 1rem #12272c; }
figcaption { display: flex; gap: .55rem; align-items: center; color: var(--muted); font-size: .875rem; margin-top: .8rem; }
.hero-art figcaption { margin-top: 1.05rem; }
.mini-spark { color: var(--ice); font-size: 1.2rem; }
.work-section { background: #192528; border-block: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.work-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1rem, 2.6vw, 2.7rem); align-items: center; }
.work-copy h2, .visit h2 { margin-block: .85rem 1.2rem; }
.work-copy h2 { font-size: clamp(2.3rem, 4.1vw, 4.2rem); }
.carousel { min-width: 0; width: min(100%, 42rem); justify-self: center; }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1.5rem) / 3);
  gap: .75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #638589 transparent;
}
.carousel-slide { min-width: 0; scroll-snap-align: start; }
.carousel-slide img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 49%; border-radius: .55rem; background: #314549; }
.carousel-slide:last-child img { object-position: center 53%; }
.carousel-slide figcaption { color: var(--ink); font-size: .9rem; line-height: 1.35; }
.carousel-controls:not([hidden]) { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .9rem; }
.carousel-button {
  min-height: 2.75rem;
  padding: .55rem 1rem;
  border: 1px solid #6c8c91;
  border-radius: 100px;
  background: transparent;
  color: var(--ice);
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.carousel-button:hover { background: var(--ice); color: var(--bg); }
.carousel-status { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.carousel-track:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
.visit { background: #c8e8ec; color: #13282b; }
.visit-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(3rem, 6vw, 5rem); }
.visit em, .visit .eyebrow, .visit .text-link { color: #31555b; }
.visit .text-link:hover { color: #0c2125; }
.visit-copy { grid-area: 1 / 2; }
.studio { grid-area: 1 / 1; width: min(100%, 29rem); justify-self: center; }
.studio-photo { border-radius: .55rem; }
.studio-photo { height: auto; }
.visit-info { display: grid; gap: .65rem; justify-items: start; }
address, .phone { font-size: 1.18rem; font-style: normal; }
.phone { margin-top: .25rem; }
.phone:hover { text-decoration: underline; }
.dark-button { margin-top: .45rem; background: #13282b; color: #e8f8fa; }
.dark-button:hover { background: #2b4d52; }
.dark-button:focus-visible { outline-color: #13282b; }
.bottom { min-height: 5.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--muted); font-size: .88rem; }
.bottom .brand { color: var(--ink); }
@media (max-width: 920px) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero { gap: 2rem; }
  .hero .eyebrow { letter-spacing: .08em; }
  .work-grid { grid-template-columns: 1fr; }
  .carousel { justify-self: start; }
  .work-copy h2 br { display: none; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2.5rem); }
  .top { min-height: 4.25rem; }
  .top nav { display: none; }
  .brand { font-size: 1.28rem; }
  .hero { grid-template-columns: 1fr; gap: 2.55rem; padding-top: 2.6rem; padding-bottom: 2.7rem; }
  h1 { font-size: clamp(3.4rem, 12.5vw, 6.25rem); margin-block: .9rem 1rem; }
  .actions { margin-top: 1.3rem; }
  .hero-art { width: min(100% - 1rem, 27rem); }
  .art-spark { right: -.45rem; }
  .portrait-frame { aspect-ratio: 1.19; }
  .carousel-track { grid-auto-columns: calc((100% - .75rem) / 2); }
  .visit-inner { grid-template-columns: 1fr; }
  .visit-inner { gap: 1.45rem; }
  .visit-copy, .studio { grid-area: auto; }
  .bottom { align-items: flex-start; justify-content: center; flex-direction: column; gap: .4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
