@font-face {
  font-family: Quicksand;
  src: url("fonts/quicksand.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Local";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
:root {
  --title: "The Seasons", "Cormorant Local", Georgia, serif;
  font: 600 16px/1.55 Quicksand, sans-serif;
  scroll-behavior: smooth;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  --ink: #233b40;
  --muted: #405c60;
  --paper: #fbfaf7;
  --surface: #fffefa;
  --wash: #e6f0ed;
  --mast: linear-gradient(115deg, #f9f7ed, #e8f4f0);
  --line: #b7c8c3;
  --primary: #394b50;
  --primary-ink: #fff;
  --highlight: #d8eae5;
  --radius: 6px;
  --controls: 5px;
  --stroke: 1px;
  --lift: 0px;
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font: 650 1rem/.99 var(--title); letter-spacing: -.028em; }
h1 { font-size: clamp(3.65rem, 7vw, 7.4rem); }
h2 { font-size: clamp(2.45rem, 4.6vw, 4.1rem); }
h3 { font-size: clamp(1.77rem, 3vw, 2.5rem); }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
:focus-visible { outline: 3px solid #377581; outline-offset: 4px; }
section[id] { scroll-margin-top: var(--anchor-offset, 77px); }
.page-width { width: min(100% - 66px, 1190px); margin-inline: auto; }
.section { padding-block: clamp(49px, 6.5vw, 90px) 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 17px; margin-bottom: 25px; }
.eyebrow { text-transform: uppercase; letter-spacing: .095em; font-size: .86rem; font-weight: 700; }
.section-heading .eyebrow, .contact-copy .eyebrow, .about .eyebrow { margin-bottom: 5px; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button {
  display: inline-flex; justify-content: center; align-items: center; padding: .65rem .98rem; min-height: 43px;
  border: var(--stroke) solid var(--line); border-radius: var(--controls); background: transparent;
  color: inherit; font-weight: 700; font-size: .94rem; text-decoration: none; line-height: 1.2;
  transition: background .18s ease, transform .18s ease;
}
.button.primary { color: var(--primary-ink); background: var(--primary); border-color: var(--primary); }
.button.secondary { background: var(--surface); color: var(--ink); }
.button:hover:not(:disabled), .choice:hover { transform: translateY(var(--lift)); }
.button.secondary:hover, .choice:hover { background: var(--highlight); }
.button.primary:hover:not(:disabled) { filter: brightness(1.13); }
.text-button { background: transparent; border: 0; padding: .25rem 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.text-button:hover { color: #2f7280; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: var(--stroke) solid var(--line); }
.header-inner {
  width: min(100% - 54px, 1230px); margin-inline: auto; min-height: 69px; display: flex;
  align-items: center; justify-content: space-between; gap: 19px;
}
.wordmark-link { flex: none; display: block; text-decoration: none; padding-block: 4px; }
.wordmark-link img { width: clamp(96px, 14vw, 142px); height: 47px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.7vw, 32px); min-width: 0; }
.site-nav a { display: inline-flex; padding: 8px 0; font-size: .94rem; white-space: nowrap; text-decoration: none; font-weight: 700; }
.site-nav a[aria-current] { border-bottom: 2px solid #5e9d9f; }
.site-nav a:hover { text-decoration: underline; }
.hero { background: var(--mast); border-bottom: var(--stroke) solid var(--line); }
.hero-inner { min-height: clamp(424px, 57vh, 625px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; align-items: center; }
.hero-copy { padding: 34px 0; position: relative; z-index: 1; }
.hero-copy h1 { margin: 10px 0 16px; }
.hero-copy p:not(.eyebrow) { max-width: 34ch; }
.hero-copy .actions { margin-top: 22px; }
.hero-illustration { position: relative; min-width: 0; align-self: stretch; }
.art-frame { position: relative; overflow: hidden; background: var(--wash); }
.hero-art { position: absolute; inset: 12px 0 0; background: transparent; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.work-card, .quote-panel, .quote-context, #contact-form {
  border: var(--stroke) solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.work-card { overflow: hidden; min-width: 0; }
.work-preview { width: 100%; display: block; border: 0; padding: 0; aspect-ratio: 1.48; }
.hero-art picture, .work-preview picture { display: block; width: 100%; height: 100%; }
.work-preview img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.work-preview:hover img { transform: scale(1.04); }
.work-copy { padding: 11px 14px 14px; }
.work-copy h3 { margin-bottom: 4px; }
.work-copy > span { display: block; font-size: .89rem; color: var(--muted); }
.work-copy .text-button { margin-top: 7px; margin-right: 9px; font-size: .89rem; }
.quote-layout { display: grid; grid-template-columns: minmax(0, .66fr) minmax(0, 1fr); align-items: stretch; gap: 15px; }
.quote-panel, .quote-context { min-width: 0; padding: clamp(15px, 2.8vw, 31px); }
.quote-context { background: var(--wash); }
.quote-context img { width: 86px; height: 93px; object-fit: contain; margin: 0 0 10px auto; }
.quote-context h3 { margin-top: 7px; }
.quote-context ol { padding-left: 1.2em; margin-block: 11px; }
.steps { display: flex; gap: 9px 17px; padding: 0; margin: 0 0 18px; flex-wrap: wrap; list-style: none; }
.steps li { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.steps span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: var(--stroke) solid var(--line); }
.steps [aria-current] { font-weight: 700; color: var(--ink); }
.steps [aria-current] span { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.format-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 13px; }
.choice { position: relative; min-width: 0; padding: 9px 11px; text-align: left; display: grid; gap: 3px; background: var(--surface);
  border: var(--stroke) solid var(--line); color: var(--ink); border-radius: var(--radius); transition: background .18s ease, transform .18s ease; }
.choice[aria-pressed=true] { background: var(--highlight); border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.choice small { color: var(--muted); font-size: .87rem; line-height: 1.35; }
.quote-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.quote-actions > :only-child { margin-left: auto; }
.options { padding: 9px 10px; border: var(--stroke) solid var(--line); border-radius: var(--radius); margin: 11px 0 0; display: grid; gap: 6px; }
.options label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
input[type=checkbox] { accent-color: var(--primary); }
.summary { display: grid; gap: 6px; margin: 10px 0 0; }
.summary > div { display: grid; grid-template-columns: 92px minmax(0,1fr); padding-block: 7px; border-bottom: 1px solid var(--line); }
.summary dd { margin: 0; }

.contact { display: grid; grid-template-columns: minmax(0,.66fr) minmax(0,1fr); align-items: start; gap: clamp(20px,4.5vw,76px); }
.contact-copy p:last-child { max-width: 37ch; margin-top: 12px; color: var(--muted); }
#contact-form { padding: clamp(13px,2.6vw,25px); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 12px; }
.form-grid label { display: grid; gap: 4px; min-width: 0; font-size: .89rem; }
.form-grid :is(input,select,textarea) { width: 100%; min-width: 0; padding: .48rem .56rem; color: var(--ink); background: var(--surface); border: var(--stroke) solid var(--line); border-radius: min(var(--radius), 10px); }
.form-grid textarea { resize: vertical; }
.full-width { grid-column: 1/-1; }
.request-context { margin: 10px 0 0; padding: 8px 10px; background: var(--wash); border-radius: var(--radius); font-size: .9rem; }
#contact-form .actions { margin-top: 13px; }
output { color: var(--muted); font-size: .87rem; }
.about { display: grid; grid-template-columns: minmax(130px,.46fr) minmax(0,1fr); align-items: center; gap: clamp(20px,5vw,65px); padding-bottom: 67px; }
.about img { max-height: 240px; object-fit: contain; }
.about p:last-child { max-width: 43ch; margin-top: 12px; }
.site-footer { margin-top: 6px; padding: 18px 0; border-top: var(--stroke) solid var(--line); background: var(--wash); }
.site-footer > div { display: flex; justify-content: space-between; gap: 13px; align-items: center; font-size: .89rem; }
.site-footer a { font: 650 1.65rem/1 var(--title); text-decoration: none; }
#detail-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); color: var(--ink);
  background: var(--surface); border: var(--stroke) solid var(--line); border-radius: var(--radius); padding: 0; }
#detail-dialog::backdrop { background: #263d41b5; }
.dialog-body { padding: 13px 15px; }
#close-detail { display: flex; margin-left: auto; }
#project-detail img { width: 100%; max-height: 69dvh; object-fit: contain; }
#project-caption { margin-top: 8px; text-align: center; }

@media (max-width: 850px) {
  .page-width { width: calc(100% - 42px); }
  .header-inner { width: calc(100% - 36px); gap: 12px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: .88rem; }
  .hero-inner { min-height: 380px; }
}
@media (max-width: 650px) {
  .header-inner { display: grid; gap: 3px; min-height: 0; padding-top: 4px; width: calc(100% - 25px); }
  .wordmark-link { justify-self: start; }
  .wordmark-link img { height: 30px; width: 106px; }
  .site-nav { flex-wrap: wrap; gap: 0 10px; }
  .site-nav a { font-size: .875rem; padding-block: 4px; }
  .page-width { width: calc(100% - 28px); }
  .section { padding-top: 39px; }
  .section-heading { margin-bottom: 15px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 23px 10px; }
  .hero-copy h1 { font-size: clamp(3.3rem,12vw,5rem); margin-bottom: 9px; }
  .hero-copy .actions { margin-top: 13px; }
  .hero-illustration { min-height: 218px; }
  .hero-art { inset-inline: 6%; }
  .quote-layout, .contact { grid-template-columns: 1fr; }
  .quote-context img { float: right; width: 62px; height: 71px; }
  .about { padding-bottom: 40px; grid-template-columns: minmax(85px,.35fr) minmax(0,1fr); gap: 12px; }
  .contact { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@font-face {
  font-family: "Alderan Seasons";
  src: local("The Seasons Regular"), local("The Seasons"), local("TheSeasons-Regular");
  font-display: swap;
}

body {
  --title: "Alderan Seasons", "Cormorant Local", Georgia, serif;
  --ink: #273f45;
  --muted: #425f66;
  --paper: #f5f8f6;
  --surface: #fffdf8;
  --wash: #d9ebea;
  --mast: linear-gradient(118deg, #cce5e5 8%, #e8f3ef 62%, #f2ebdb);
  --line: #a0bdba;
  --primary: #2c5662;
  --primary-ink: #fff;
  --highlight: #cde8e7;
  --radius: 23px;
  --controls: 40px;
  --lift: -2px;
}

.page-width { width: min(100% - 72px, 1160px); }
.section { padding-block-start: clamp(49px, 6.5vw, 86px); }
.section-heading { align-items: center; margin-bottom: 19px; }
h1, h2, h3 { letter-spacing: -.038em; }
h2 { font-size: clamp(2.7rem, 5.25vw, 4.5rem); }
.eyebrow { letter-spacing: .12em; }
.button { min-height: 45px; padding-inline: 1.16rem; }
.text-button { text-decoration-color: #5f919a; }
.text-button:hover { color: #1e5e70; }
.site-header {
  background: #c3e2e5;
  border-color: #9abec3;
  box-shadow: 0 2px 9px #3e6b7420;
}
.header-inner { width: min(100% - 60px, 1200px); min-height: 70px; }
.wordmark-link img { width: 128px; height: 44px; }
.site-nav { gap: clamp(6px, 1.6vw, 16px); }
.site-nav a {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 30px;
  line-height: 1.2;
}
.site-nav a[aria-current] { background: #f4fbf7; border: 1px solid #abc7c9; }
.site-nav a:hover { background: #e0f1ef; text-decoration: none; }

.hero { position: relative; isolation: isolate; border: 0; overflow: clip; }
.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  gap: clamp(20px, 6vw, 91px);
  min-height: clamp(390px, 62vh, 515px);
  padding-block: clamp(23px, 4vw, 54px);
}
.hero-copy { padding: 0; }
.hero-wordmark {
  width: clamp(177px, 24vw, 296px);
  height: auto;
  margin: 0 0 18px -5px;
}
.hero-copy h1 { font-size: clamp(3.05rem, 6.75vw, 6.25rem); margin: 0 0 12px; }
.hero-copy h1 span { white-space: nowrap; }
.hero-copy p { max-width: 38ch; color: var(--muted); }
.hero-copy .actions { margin-top: 24px; }
.hero-copy .secondary { background: #f5faf6; }
.hero-illustration {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  grid-area: 1 / 1;
  isolation: isolate;
}
.hero-illustration::before, .hero-illustration::after {
  --orbit-angle: -18deg;
  --orbit-half-cycle: 24s;
  --orbit-delay: -12s;
  position: absolute;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1.19;
  transform: rotate(var(--orbit-angle));
  border: 1px solid #7ca7af;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: orbit-sway var(--orbit-half-cycle) ease-in-out var(--orbit-delay) infinite alternate;
}
.hero-illustration::after {
  --orbit-angle: 15deg;
  --orbit-half-cycle: 29s;
  --orbit-delay: -7s;
  width: 104%;
  aspect-ratio: 1.25;
  border-color: rgb(255 255 255 / 33%);
}
@keyframes orbit-sway {
  from { transform: rotate(calc(var(--orbit-angle) - 15deg)); }
  to { transform: rotate(calc(var(--orbit-angle) + 15deg)); }
}
@supports (animation-timing-function: linear(0, 1)) {
  .hero-illustration::before, .hero-illustration::after {
    /* Samples of half a cosine period. Alternating directions completes the wave. */
    animation-timing-function: linear(0, .0096, .0381, .0843, .1464, .2222, .3087, .4025, .5,
      .5975, .6913, .7778, .8536, .9157, .9619, .9904, 1);
  }
}
.hero-art {
  position: relative;
  inset: auto;
  width: min(87%, 397px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 7px solid #f9f7ed;
  outline: 1px solid #8bb7bd;
  background: radial-gradient(circle at 38% 20%, #eef9f4 0, #b9dde1 57%, #82bac6 100%);
  box-shadow: 0 15px 35px #2d626628;
}
.hero-art img { object-fit: cover; object-position: center 19%; }

#portfolio .work-card {
  border: 1px solid #a8c1bf;
  background: #fffdf8;
  border-radius: 20px;
}
#portfolio .work-copy { padding: 13px 16px 15px; }
#portfolio .work-copy h3 { font-size: clamp(1.7rem, 2.8vw, 2.42rem); }
#portfolio .work-copy .text-button { margin-top: 6px; }

#reviews.section { padding-top: clamp(41px, 5.5vw, 70px); }
.loop-belt {
  --fade: clamp(11px, 2.45vw, 32px);
  --gap: clamp(10px, 1.6vw, 18px);
  --card: calc((100% - 2 * var(--gap)) / 3);
  margin-inline: calc(-1 * var(--fade));
  padding: 2px var(--fade) 7px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overflow-anchor: none;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.loop-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--card);
  gap: var(--gap);
  align-items: stretch;
}
.loop-belt::-webkit-scrollbar { display: none; }
.loop-belt:focus-visible { outline-offset: -2px; }
#reviews figure {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px clamp(15px, 2vw, 23px);
  background: #e5f2ef;
  border: 1px solid #b5ceca;
  border-radius: 15px;
  box-shadow: 0 2px 5px #2d575d10;
}
#reviews figure:nth-child(3n+2) { background: #f3ead9; border-color: #cdbca0; }
#reviews figure:is(:nth-child(3n), .loop-leading) { background: #eff4ec; border-color: #bfcfc1; }
.loop-leading { order: -1; }
#reviews blockquote { margin: 0; line-height: 1.47; }
#reviews figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #345c63;
  font-size: .88rem;
  font-weight: 700;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #fffcf4;
  box-shadow: 0 0 0 1px #6e979a50;
  object-fit: cover;
  background: #d5e7e4;
}
.testimonial-initials { display: grid; place-items: center; font-family: var(--title); font-size: 1.06rem; }

.quote-layout {
  --intro-width: 40%;
  --join: clamp(24px, 3.5vw, 40px);
  --sheet-offstage: translateX(100%);
  grid-template-columns: var(--intro-width) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #e3efec;
}
.quote-context {
  grid-area: 1 / 1 / 2 / -1;
  width: calc(var(--intro-width) + var(--join));
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.quote-illustration {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: clamp(165px, 19vw, 238px);
  background: radial-gradient(ellipse at 66% 22%, #e5f0e6, #a8cdd6 88%);
  border-bottom: 1px solid #a2c2c1;
}
.quote-context .quote-illustration img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 50% 24%;
}
.quote-context h3 { padding-inline: clamp(15px, 2.6vw, 28px) var(--join); margin-top: 17px; }
.quote-context ol { margin: 10px var(--join) 21px clamp(15px, 2.6vw, 28px); padding-inline-start: 1.25rem; color: #34565c; }
.quote-context li + li { margin-top: 3px; }
.quote-deck {
  grid-area: 1 / 2 / 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  overflow: clip;
  isolation: isolate;
  border-inline-start: 1px solid #a7c2bf;
  border-radius: var(--join) 0 0 var(--join);
  box-shadow: -7px 0 17px -12px #315d6590;
}
.quote-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.8vw, 33px);
  border: 0;
  border-radius: inherit;
  background: #fffdf8;
  box-shadow: 0 0 0 1px #9fbcb9, 0 0 20px #21495029;
}
/* All sheets contribute their natural height, including the inactive formats. */
.quote-panel[inert] { visibility: hidden; }
.quote-panel.departing { visibility: visible; }
.quote-panel[data-sheet="1"] { z-index: 1; }
.quote-panel[data-sheet="2"] { z-index: 2; }
.step-content { flex: 1; display: flex; flex-direction: column; }
.step-content h3:focus-visible {
  outline: none;
  text-decoration: underline 2px #377581;
  text-underline-offset: .16em;
}
.quote-panel .summary dd { display: grid; }
.quote-panel .summary dd > span { grid-area: 1 / 1; }
.quote-measure { visibility: hidden; }
.steps { gap: 7px 12px; margin-bottom: 17px; }
.steps li { padding: 4px 7px 4px 4px; border-radius: 100px; font-size: .82rem; }
.steps [aria-current] { background: #e0eeeb; }
.choice {
  padding: 11px 19px 11px 12px;
  min-height: 63px;
  background: #f7faf5;
  border-radius: 15px;
}
.choice[data-format] {
  grid-template-columns: 39px minmax(0, 1fr);
  align-items: center;
  column-gap: 9px;
  padding-inline-end: 14px;
}
.format-thumb {
  width: 39px;
  height: 39px;
  padding: 2px;
  grid-row: 1 / span 2;
  border-radius: 50%;
  background: #def0ed;
  object-fit: contain;
}
.choice[aria-pressed="true"] {
  background: #cce8e7;
  border-color: transparent;
  box-shadow: none;
}
.choice strong { padding-inline-end: 10px; }
.choice[aria-pressed="true"]::before,
.choice[aria-pressed="true"]::after {
  position: absolute;
  inset: calc(-1 * var(--stroke));
  border-radius: inherit;
  content: "";
  pointer-events: none;
}
.choice[aria-pressed="true"]::before {
  border: 2px solid var(--primary);
}
.choice[aria-pressed="true"]::after {
  /* Paint across the stroke, using the same outer curve as the frame. */
  --right-edge: calc(100% - 9px);
  --left-edge: calc(var(--right-edge) - 11px);
  background: linear-gradient(180deg, #608993, #396a78 3px, #346574 19px);
  clip-path: polygon(
    var(--left-edge) 0, var(--right-edge) 0,
    var(--right-edge) 19px, calc(var(--right-edge) - 5.5px) 15px, var(--left-edge) 19px
  );
}
.quote-actions { padding-top: 14px; margin-top: auto; }
.options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  border-radius: 14px;
}
.summary > div { border-color: #bfd3ce; }

.contact { display: block; max-width: 748px; }
.contact-copy { text-align: center; }
.contact-copy p:last-child { max-width: 49ch; margin-inline: auto; }
#contact-form { margin-top: 21px; padding: clamp(17px, 3vw, 33px); }
.form-grid { gap: 10px 13px; }
.form-grid :is(input, select, textarea) {
  background: #f8fbf7;
  border-radius: 17px;
  padding: 9px 11px;
}
.form-grid :is(input, select) { min-height: 42px; }
.request-context { background: #dcefeb; border-radius: 12px; }
.about {
  grid-template-columns: minmax(126px, .6fr) minmax(0, 1fr);
  max-width: 840px;
  padding-bottom: clamp(34px, 6.5vw, 76px);
}
.about img { max-height: 250px; margin-inline: auto; }
.about p:last-child { color: var(--muted); }
.site-footer { background: #cce5e6; }

@media (max-width: 900px) {
  .page-width { width: calc(100% - 48px); }
  .header-inner { width: calc(100% - 36px); gap: 12px; }
  .site-nav { gap: 2px; }
  .site-nav a { padding-inline: 7px; }
  .testimonial-belt { --card: calc((100% - var(--gap)) / 2); }
}

@media (max-width: 650px) {
  .page-width { width: calc(100% - 30px); }
  .header-inner { width: calc(100% - 25px); min-height: 0; justify-content: stretch; padding-block: 3px 6px; }
  .wordmark-link img { height: 32px; width: 105px; }
  .site-nav { flex-wrap: wrap; gap: 1px; }
  .site-nav a { font-size: .89rem; padding: 5px 7px; }
  .hero-inner { grid-template-columns: 1fr; gap: 15px; min-height: 0; padding-block: 19px 24px; }
  .hero-illustration { grid-area: auto; width: min(80%, 300px); margin-inline: auto; }
  .hero-art { width: 87%; }
  .hero-copy { text-align: center; }
  .hero-wordmark { width: 180px; margin: 1px auto 9px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 9.1vw, 4.6rem); }
  .hero-copy p { margin-inline: auto; }
  .hero-copy .actions { justify-content: center; margin-top: 14px; }
  .section { padding-block-start: 42px; }
  .section-heading { flex-wrap: wrap; gap: 9px; }
  .section-heading h2 { font-size: clamp(2.43rem, 9.6vw, 3.35rem); }
  .loop-belt { --fade: 13px; }
  .testimonial-belt { --card: 84%; }
  .quote-layout { display: block; --join: 24px; --sheet-offstage: translateY(100%); }
  .quote-context { display: grid; width: 100%; grid-template-columns: minmax(80px, .5fr) minmax(0, 1fr); padding-bottom: var(--join); }
  .quote-context .quote-illustration { grid-row: span 2; min-height: 0; margin-bottom: calc(-1 * var(--join)); border-bottom: 0; }
  .quote-context .quote-illustration img { float: none; }
  .quote-context h3 { margin-top: 13px; padding-inline: 10px; }
  .quote-context ol { margin: 7px 10px 11px; font-size: .89rem; }
  .quote-deck {
    position: relative;
    margin-top: calc(-1 * var(--join));
    border: 0;
    border-top: 1px solid #a7c2bf;
    border-radius: var(--join) var(--join) 0 0;
    box-shadow: 0 -5px 14px -10px #315d6590;
  }
  .quote-panel { padding: clamp(15px, 4vw, 22px); }
  .steps { gap: 4px 6px; }
  .contact { gap: 0; }
  .about { grid-template-columns: minmax(82px, .42fr) minmax(0, 1fr); }
}

@media (max-width: 370px) {
  .choice[data-format] { grid-template-columns: 30px minmax(0, 1fr); padding-inline: 7px; column-gap: 4px; }
  .format-thumb { width: 30px; height: 30px; }
  .steps { gap: 3px; }
  .steps li { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-illustration::before, .hero-illustration::after { animation: none; }
  #portfolio .loop-copy, #reviews .loop-copy, #work-playback { display: none; }
}

.contact-actions > button { margin-inline-start: auto; }
.request-status { color: var(--muted); font-size: .9rem; }
.request-dialog {
  width: min(550px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: 24px; box-shadow: 0 20px 64px #263d4152; overscroll-behavior: contain;
}
.request-dialog::backdrop { background: #263d41a6; }
.request-dialog-body { padding: clamp(18px, 4vw, 28px); }
.request-dialog h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
#request-summary {
  max-height: min(45dvh, 320px); margin: 16px 0; padding: 12px 14px; overflow: auto;
  border-radius: 13px; background: var(--wash); white-space: pre-wrap; overflow-wrap: anywhere; font: inherit;
}
.request-dialog-actions { justify-content: flex-end; }
.request-dialog .request-status:not(:empty) { margin: 0 0 10px; }
.email-fallback { font-size: .9rem; margin-top: 12px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .loop-belt { mask-image: none; }
}

.hero-copy h1 { margin: 0; }
.hero-wordmark { width: min(100%, 445px); margin: 0 0 14px -4px; }
.hero-copy h1 span {
  display: block; color: var(--muted); font: 600 1.12rem/1.4 Quicksand, sans-serif;
  letter-spacing: .065em;
}
.hero-copy .actions { margin-top: 22px; }
.section-heading p { margin-top: 6px; color: var(--muted); }
#toggle-player { display: block; width: 100%; aspect-ratio: 5/3; height: auto; object-fit: cover; }
#portfolio .work-copy { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; }
.work-copy p { color: var(--muted); font-size: .92rem; }
#portfolio .work-copy .text-button { margin: 0; }
#project-caption { margin-top: 8px; }

.review-card { position: relative; }
#reviews blockquote {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden; white-space: pre-line;
}
.read-review { margin-left: auto; font-size: .84rem; }
.read-review::after { content: ""; position: absolute; inset: 0; border-radius: 15px; }
#review-detail { padding: clamp(12px, 4vw, 32px); }
#review-detail blockquote { margin: 18px 0 0; font-size: clamp(1.02rem, 2.4vw, 1.28rem); line-height: 1.6; white-space: pre-line; }

.about { max-width: 950px; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); padding-bottom: 0; }
.about img { width: min(100%, 345px); height: auto; max-height: none; }
.about p { margin-top: 12px; color: var(--muted); max-width: 43ch; }
.toggle-gallery { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center;
  overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
#toggle-player { background: #f4e4d8; }
.toggle-list { display: grid; gap: 6px; padding: clamp(12px, 2.4vw, 28px); }
.toggle-list a { padding: 10px 16px; text-decoration: none; border: 1px solid transparent; border-radius: 13px; }
.toggle-list a[aria-current] { border-color: var(--line); background: var(--wash); }
.toggle-list a:hover { background: #edf4f0; }
.toggle-list strong, .toggle-list span { display: block; }
.toggle-list span { color: var(--muted); font-size: .9rem; }

.chibi-symbol { position: relative; display: grid; justify-items: center; align-content: center; }
.chibi-symbol::before, .chibi-symbol::after { content: ""; background: #8ab3b8; border: 1px solid #58848e; }
.chibi-symbol::before { width: 15px; height: 14px; border-radius: 48%; }
.chibi-symbol::after { width: 10px; height: 6px; border-radius: 6px 6px 3px 3px; }
.choice[data-format="IRIAM full body"] .format-thumb { border-radius: 6px; border: 1px solid #83a8ad; width: 25px; justify-self: center; margin-inline: 4px; }
.format-price { color: var(--primary); font-size: .76rem; letter-spacing: .02em; }
.choice[data-format] .format-thumb { grid-row: 1 / span 3; }
.choice[data-format] .format-price { grid-column: 2; }
.options { grid-template-columns: repeat(2,minmax(0,1fr)); }
.options label { border-radius: 8px; min-width: 0; padding: 5px; gap: 5px; line-height: 1.25; }
.options label:has(input:checked) { background: var(--wash); }
.options label small { flex: none; margin-inline-start: auto; color: var(--muted); font-size: .75rem; }
.platform-note { grid-column: 1/-1; color: var(--muted); font-size: .85rem; }
.process-list li { padding: 3px 0; }
.process-list li::marker { color: var(--primary); font-weight: 700; }

@media (min-width: 651px) and (max-width: 950px) {
  .options { grid-template-columns: 1fr; }
  .site-nav { gap: 0; }
  .site-nav a { padding-inline: 6px; }
}
@media (max-width: 650px) {
  .hero-wordmark { width: min(84%, 325px); margin: 4px auto 8px; }
  .hero-copy h1 span { font-size: .98rem; }
  .toggle-gallery { grid-template-columns: 1fr; }
  .about { grid-template-columns: minmax(0,.78fr) minmax(0,1fr); gap: 13px; }
  .toggle-list { gap: 2px; }
  .quote-context { grid-template-columns: 1fr; }
  .quote-context .quote-illustration { grid-row: auto; height: 135px; margin-bottom: 0; }
  .quote-context .quote-illustration img { object-position: 50% 24%; }
  .quote-context h3 { padding-inline: 15px; }
  .quote-context .process-list { margin: 7px 15px 16px; }
  .options label { flex-wrap: wrap; align-content: center; }
  .options label span { flex: 1; }
}
@media (max-width: 430px) {
  .about { grid-template-columns: 1fr; }
  .about img { width: 58%; }
  .options { grid-template-columns: 1fr; }
  .choice[data-format] { display: flex; flex-direction: column; align-items: flex-start; }
}
.quote-context .quote-illustration img { object-position: 50% 14%; }
.quote-illustration {
  background-color: #d9e9e6;
  background-image: linear-gradient(#8baeb52a 1px, transparent 1px), linear-gradient(90deg, #8baeb52a 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-copy h1 .hero-signature {
  width: min(100%, 431px); margin: 0 0 14px;
}
.hero-signature .hero-wordmark { width: 100%; margin: 0; }
.hero-chain { position: absolute; z-index: -1; top: -7px; width: auto; pointer-events: none; }
.hero-chain.chain-left { left: clamp(3px, 1.8vw, 40px); height: clamp(118px, 16vw, 245px); }
.hero-chain.chain-right { right: clamp(6px, 2.2vw, 45px); height: clamp(142px, 19vw, 290px); }

.work-belt { --gap: clamp(12px, 2vw, 22px); --card: 41%; }
#portfolio .work-preview { position: relative; display: block; aspect-ratio: 1; background: white; }
#portfolio .work-preview img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; padding: 0; }
#portfolio .work-preview:hover img { transform: none; }
#project-detail img { background: white; width: 100%; max-height: 70dvh; object-fit: contain; }
.work-controls { display: flex; align-items: center; gap: 6px; }
.work-controls button { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); min-width: 38px; height: 38px; }
.work-controls [data-work-step] { font-size: 1.45rem; line-height: 1; }
#work-playback { padding-inline: 12px; min-width: 64px; font-size: .85rem; }

.social-profiles { margin: 18px 0 0; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-profiles :is(span,a) { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.social-profiles a { transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out; }
.social-profiles a:focus-visible { border-color: var(--primary); }
@media (hover: hover) {
  .social-profiles a:hover { border-color: #6a989d; box-shadow: 0 3px 7px #315d6529; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .social-profiles a:hover { transform: translateY(-2px); }
}
.social-profiles a:active { border-color: var(--primary); box-shadow: inset 0 1px 3px #315d6533; }
@media (prefers-reduced-motion: no-preference) {
  .social-profiles a:active { transform: scale(.96); transition-duration: 70ms; }
}
.social-profiles li img { width: 21px; height: 21px; max-height: none; object-fit: contain; margin: 0; }
.site-footer .page-width { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-footer .social-profiles { margin: 0; }
.footer-signature img { width: clamp(112px,15vw,160px); height: auto; }

.toggle-browser { min-width: 0; padding: clamp(12px,2.4vw,28px); }
.toggle-search { display: grid; gap: 5px; margin-bottom: 10px; font-size: .85rem; font-weight: 700; }
.toggle-search input { width: 100%; min-height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px; color: var(--ink); }
.toggle-list { padding: 3px; max-height: 17rem; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.toggle-empty { margin: 12px 4px; font-size: .95rem; color: var(--muted); }
@media (max-width: 650px) {
  .hero-copy h1 .hero-signature { width: min(80%, 315px); margin: 4px auto 10px; }
  .hero-chain.chain-left { left: 1px; height: clamp(75px, 20vw, 112px); }
  .hero-chain.chain-right { right: 4px; height: clamp(98px, 25vw, 148px); }
  .work-belt { --card: 78%; }
  .site-footer .social-profiles { gap: 6px; }
  .site-footer .social-profiles :is(span,a) { width: 33px; height: 33px; }
}
