* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
  overflow-wrap: anywhere;
}
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .5rem 1rem; background: var(--page); transform: translateY(-200%); }
.skip:focus { transform: none; }
.header-inner, main, .footer-inner { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding-block: 1rem; }
.wordmark { display: inline-flex; gap: .55rem; align-items: center; font-weight: 750; font-size: 1.2rem; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
nav a { font-size: .875rem; font-weight: 650; padding-block: .3rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6.3vw, 5.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.45rem); letter-spacing: -.045em; margin-bottom: 1.25rem; }
h3 { font-size: 1.22rem; margin-bottom: .55rem; }
p + p { margin-top: .8rem; }
.hero { display: grid; align-items: center; gap: 2rem; padding-block: clamp(2.8rem, 7vw, 6.5rem); }
.hero-copy { min-width: 0; }
.eyebrow { font-size: .8rem; font-weight: 750; margin-bottom: 1rem; color: var(--muted); }
.intro { margin-top: 1rem; font-size: clamp(1.08rem, 2vw, 1.25rem); max-width: 43ch; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.25rem; margin-top: 1.65rem; }
.button { display: inline-block; padding: .7rem 1.05rem; border: 1px solid transparent; border-radius: var(--radius); background: var(--button); color: var(--button-text); font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { text-decoration: underline; }
.email-link { display: inline-grid; font-size: .875rem; font-weight: 650; }
.email-link span { font-weight: 450; }
.section { padding-block: clamp(2.1rem, 5vw, 4.25rem); border-top: 1px solid var(--line); }
.section > p { max-width: 65ch; }
.cards, .steps, .sample-grid { display: grid; gap: .85rem; }
.cards article, .steps li { background: var(--panel); border: 1px solid var(--line); padding: 1.25rem; border-radius: var(--radius); min-width: 0; }
.cards p, .steps p, details p { color: var(--muted); }
.steps { margin: 0; padding-left: 0; list-style-position: inside; }
.steps li::marker { font-weight: 750; }
.steps h3 { margin-top: .45rem; }
.cards .price { font-family: var(--heading); font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; letter-spacing: -.045em; color: var(--ink); }
.price span { font: 600 .875rem/1.4 var(--body); letter-spacing: 0; }
.note { color: var(--muted); margin-top: 1rem; font-size: .875rem; }
.feature { padding-inline: clamp(1rem, 4vw, 3rem); border-radius: var(--radius); background: var(--panel); }
.feature .button { margin-top: 1rem; }
figure { margin: 0; }
figcaption { font-weight: 700; margin-bottom: .5rem; }
.sample-frame { display: grid; place-items: center; min-height: 8rem; aspect-ratio: 16/9; text-align: center; padding: .75rem; border: 1px dashed var(--frame); color: var(--muted); border-radius: var(--radius); }
details { border-bottom: 1px solid var(--line); }
summary { padding: .85rem .15rem; font-weight: 700; cursor: pointer; }
details p { padding: 0 .15rem 1rem; max-width: 65ch; }
.enquiry { display: grid; gap: 1.5rem; }
form { display: grid; gap: .9rem; background: var(--panel); border: 1px solid var(--line); padding: clamp(.85rem, 3vw, 1.5rem); border-radius: var(--radius); }
label { display: block; font-size: .9rem; font-weight: 700; min-width: 0; }
input:not([type=hidden]), select, textarea { display: block; width: 100%; min-width: 0; margin-top: .3rem; padding: .58rem .65rem; border: 1px solid var(--frame); border-radius: var(--radius); background: var(--page); color: var(--ink); font: 1rem/1.4 var(--body); }
textarea { resize: vertical; }
.form-note { font-size: .875rem; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; justify-content: space-between; align-items: baseline; padding-block: 1.25rem; color: var(--muted); }
.footer-inner a { font-size: .875rem; }
.privacy { max-width: 45rem; padding-block: clamp(2rem, 6vw, 5rem); }
.privacy h1 { margin-bottom: 1.25rem; }
.privacy h2 { font-size: 1.65rem; margin-block: 1.75rem .55rem; }
@media (min-width: 39rem) {
  .header-inner, main, .footer-inner { width: min(100% - 4rem, 72rem); }
  .cards, .steps, .sample-grid { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
  form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
}
@media (min-width: 54rem) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .enquiry { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:root {
  --page: #fcf8f2;
  --ink: #243229;
  --muted: #49554a;
  --panel: #f6ede4;
  --line: #dccbbe;
  --frame: #8c7365;
  --button: #24392b;
  --button-text: #fffaf3;
  --focus: #8d3d2e;
  --radius: 1.5rem;
  --body: "Trebuchet MS", system-ui, sans-serif;
  --heading: "Trebuchet MS", system-ui, sans-serif;
}
.wordmark svg { background: #f0c4b2; box-sizing: content-box; padding: .32rem; border-radius: 50%; }
.hero h1 { font-size: clamp(2.55rem, 5.7vw, 5.1rem); }
.eyebrow { color: #744432; }
.button { border-radius: 999px; }
.pricing .cards { gap: clamp(.85rem, 2vw, 1.5rem); }
.pricing .cards article {
  display: flex;
  flex-direction: column;
  min-height: 16rem;
  padding: 2.75rem clamp(1.25rem, 3vw, 2.25rem) 1.75rem;
  border-radius: 50% 50% var(--radius) var(--radius) / 2.25rem 2.25rem var(--radius) var(--radius);
}
.pricing .cards article:nth-child(1) { background: #f5e4d9; }
.pricing .cards article:nth-child(2) { background: #f2d4c6; }
.pricing .cards article:nth-child(3) { background: #e8ecdf; }
.pricing .price { margin-top: auto; padding-top: 1rem; }
.steps li { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.sample-frame { background: #f9efe8; }
.sample-grid figure:nth-child(2) .sample-frame { background: #f5dfd3; }
input:not([type=hidden]), select, textarea { border-radius: .65rem; }
.hero {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 1.5rem;
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 7vw, 6rem);
  text-align: center;
}
.hero-copy { max-width: 54rem; }
.hero .intro { margin-inline: auto; }
.hero-actions { justify-content: center; }
#accuracy { border-top: 0; margin-bottom: 1.2rem; }
@media (min-width: 39rem) {
  .pricing .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing .cards article { min-height: 21rem; }
}

/* Homepage composition */
body:has(.hero) main { width: 100%; }
.hero, main:has(.hero) > .section {
  --gutter: max(clamp(1rem, 4vw, 3rem), calc((100% - 76rem) / 2));
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3rem, 7vw, 7rem) var(--gutter);
}
.hero {
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  background-image: var(--grain), var(--hero-wash);
  border-bottom: 1px solid var(--line);
}
main .hero-copy { width: auto; max-width: none; margin: 0; text-align: left; }
main .hero h1 {
  font-size: clamp(3.15rem, 7vw, 7rem);
  letter-spacing: -.064em;
  line-height: .96;
  max-width: 14ch;
  margin: 0;
  text-wrap: balance;
}
main .hero .intro { margin-inline: 0; margin-top: 1.4rem; }
main .hero .hero-actions { justify-content: start; }
main .hero .eyebrow { letter-spacing: .075em; }
.demo { min-width: 0; width: 100%; max-width: 46rem; margin-inline: auto; }
.demo > figcaption { font: 700 .8rem/1.5 var(--body); letter-spacing: .07em; margin: .85rem 0 0; }
main:has(.hero) > .section:nth-of-type(even) { background: var(--band); }
main:has(.hero) > .feature { background: var(--feature-bg); border-radius: 0; color: var(--feature-ink); }
main:has(.hero) > .section h2 { margin-bottom: clamp(1.35rem, 3vw, 2.3rem); }
main:has(.hero) :is(.cards article, .sample-frame, form) { box-shadow: 0 12px 34px -25px var(--shadow); }
main:has(.hero) .cards article { transition: transform .2s ease, box-shadow .2s ease; }
main:has(.hero) .cards article:hover { box-shadow: 0 18px 34px -20px var(--shadow); }
main:has(.hero) .button { transition: transform .2s ease, box-shadow .2s ease; }
main:has(.hero) .button:hover { box-shadow: 0 0 0 2px currentColor inset; }
main:has(.hero) input::placeholder { color: var(--muted); opacity: 1; }
@media (min-width: 58rem) {
  main .hero { grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero .demo { animation: settle .65s ease-out; }
  .hero .demo { animation-duration: .9s; }
  main:has(.hero) :is(.cards article, .button):hover { transform: translateY(-3px); }
}
@keyframes settle { from { translate: 0 12px; } to { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

body:has(.hero) {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.83' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' opacity='.07' filter='url(%23g)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  --base: #fcf8f2;
  --band: #f6ede4;
  --feature-bg: #f0c4b2;
  --feature-ink: #243229;
  --shadow: #744432;
  --hero-wash: radial-gradient(ellipse at 78% 40%, #f0c4b2, #fcf8f2 74%);
  background: var(--base);
}

@media (min-width: 58rem) {
  main .hero { grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); }
}
.studio-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.45rem, 1.2vw, 1rem); }
.studio {
  --wall: #ce8e76;
  --light: #ffdfc8;
  --shelf: #e8ad94;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--wall);
  border: 1px solid #9e675a;
}
.studio-row .studio { aspect-ratio: .58; border-radius: 48% 48% 1rem 1rem / 19% 19% 1rem 1rem; box-shadow: 0 14px 30px -18px #744432; }
.studio::before, .studio::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.studio::before { background: radial-gradient(ellipse at 22% 23%, var(--light), transparent 69%); }
.studio::after { background: radial-gradient(ellipse at 75% 24%, var(--light), transparent 76%); opacity: 0; transition: opacity .35s; }
.studio:hover::after { opacity: 1; }
.bottle { --wall: #b77260; --light: #f6c5aa; --shelf: #cd927c; }
.box { --wall: #ca9e83; --light: #fce6c9; --shelf: #ddae8e; }
.plinth { position: absolute; left: 14%; right: 14%; top: 70%; height: 26%; border-radius: 50% 50% 9% 9% / 24% 24% 8% 8%; background: linear-gradient(105deg,var(--shelf),var(--wall)); box-shadow: 8px 11px 20px #5e312e55; }
.plinth::before { content: ""; position: absolute; inset: 0 0 auto; height: 45%; border-radius: 50%; background: var(--light); box-shadow: inset -9px -4px 18px var(--shelf); }
.object { position: absolute; bottom: 23%; left: 50%; width: 39%; height: 29%; transform: translateX(-50%); border-radius: 11% 11% 18% 18%; background: linear-gradient(100deg,#faf0dd,#eee0c4 43%,#b79873); box-shadow: 6px 7px 10px #51342f57; }
.object::before, .object::after { content: ""; position: absolute; }
.object::before { inset: -16% -3% auto; height: 22%; border-radius: .16rem; background: linear-gradient(100deg,#4a5c48,#24392b); }
.object::after { inset: 34% 12% 23%; border: 1px solid #ad967c; background: linear-gradient(#fff7e6 36%,#b59e7d 36% 42%,#fff7e6 42% 56%,#b59e7d 56% 62%,#fff7e6 62%); }
.bottle .object { width: 32%; height: 38%; border-radius: 25% 25% 15% 15%; background: linear-gradient(100deg,#b47547,#814934 72%,#563426); }
.bottle .object::before { inset-inline: 24%; }
.box .object { width: 43%; height: 35%; border-radius: 2px; background: linear-gradient(90deg,#edc0ab 78%,#ab705e 79%); }
.box .object::before { display: none; }
.box .object::after { right: 30%; }
.comparison { --reveal: 50%; position: relative; max-width: 46rem; margin-bottom: 2rem; }
.comparison-stage { display: grid; position: relative; width: 100%; overflow: hidden; border-radius: var(--radius); aspect-ratio: 2 / 1; min-height: 12rem; border: 1px solid #8c7365; }
.comparison-stage .studio { grid-area: 1 / 1; border: 0; }
.comparison-stage .object { width: auto; aspect-ratio: .83; height: 42%; left: 50%; }
.comparison-stage .plinth { left: 33%; right: 33%; }
.comparison-stage .raw { background: #c2c2c2; }
.comparison-stage .raw::before, .comparison-stage .raw::after { display: none; }
.comparison-stage .raw .object { background: #eee0c4; box-shadow: 3px 2px 0 #888; }
.comparison-stage .finished { clip-path: inset(0 0 0 var(--reveal)); }
.comparison-stage .studio span { position: absolute; inset: .65rem auto auto .65rem; background: #fcf8f2; color: #243229; border-radius: 999px; padding: .2rem .65rem; font-size: .8rem; font-weight: 700; }
.comparison-stage .finished span { inset: .65rem .65rem auto auto; }
.comparison-line { position: absolute; inset: 0 auto 0 var(--reveal); width: 2px; background: #fffaf3; box-shadow: 0 0 0 1px #243229; }
#studio-reveal[hidden] { display: none; }
#studio-reveal { accent-color: var(--button); margin: .7rem 0 0; padding: 0; min-height: 32px; cursor: ew-resize; }
