/* Template C: playful bright. Every color is a token below; nothing else names a color. */
@import url("fonts/fonts.css");

:root {
  --orange: #F09000;      /* fills and bands only, never text on light */
  --orange-soft: #F6BD59; /* slices and badges */
  --orange-text: #A85600; /* orange text on light */
  --ink: #1E1E1E;
  --cream: #FFF7EC;
  --muted: #5C5650;
  --rule: #D9D0C4;
  --white: #FFFFFF;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 28px;
  --shadow-off: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 18px/1.65 var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; letter-spacing: -0.025em; }
h1 { font-weight: 800; font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem); line-height: 1.02; }
h2 { font-weight: 800; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.06; }
h3 { font-weight: 700; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-ink :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--orange-soft); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Color blocks */
.band { position: relative; padding-block: var(--section); }
.band-orange { background: var(--orange); color: var(--ink); }
.band-cream { background: var(--cream); color: var(--ink); }
.band-ink { background: var(--ink); color: var(--cream); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { max-width: 14ch; }
.section-foot { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Citrus slice (inline SVG symbol in each page) */
/* Selectors do not reach inside <use>, so colors pass in through inherited custom properties. */
.s-rind { fill: var(--slice-rind, var(--orange-soft)); }
.s-pith { fill: var(--cream); }
.s-flesh { fill: var(--slice-flesh, var(--orange)); }
.s-seg { stroke: var(--cream); stroke-width: 5; stroke-linecap: round; fill: none; }
.band-orange { --slice-rind: var(--ink); --slice-flesh: var(--orange-soft); }

.divider { position: relative; z-index: 2; height: 0; display: flex; justify-content: center; align-items: flex-start; }
.divider .slice { width: clamp(72px, 9vw, 104px); height: auto; aspect-ratio: 1; transform: translateY(-50%) rotate(var(--spin, 0deg)); }

/* Pill buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.7em 1.8em;
  border-radius: 999px; border: 3px solid var(--ink);
  font: 700 1.05rem/1 var(--font-head); letter-spacing: 0.01em; text-decoration: none;
  box-shadow: var(--shadow-off) var(--shadow-off) 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: calc(var(--shadow-off) + 3px) calc(var(--shadow-off) + 3px) 0 var(--ink); }
.btn:active { transform: translate(var(--shadow-off), var(--shadow-off)); box-shadow: 0 0 0 var(--ink); }
.btn-ink { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-off) var(--shadow-off) 0 var(--cream); }
.btn-ink:hover { box-shadow: calc(var(--shadow-off) + 3px) calc(var(--shadow-off) + 3px) 0 var(--cream); }
.band-cream .btn-ink, .card .btn-ink { box-shadow: var(--shadow-off) var(--shadow-off) 0 var(--orange); }
.band-cream .btn-ink:hover, .card .btn-ink:hover { box-shadow: calc(var(--shadow-off) + 3px) calc(var(--shadow-off) + 3px) 0 var(--orange); }
.btn-orange { background: var(--orange); color: var(--ink); border-color: var(--orange); box-shadow: var(--shadow-off) var(--shadow-off) 0 var(--orange-soft); }
.btn-orange:hover { box-shadow: calc(var(--shadow-off) + 3px) calc(var(--shadow-off) + 3px) 0 var(--orange-soft); }

/* Stickers: tilted labels */
.sticker {
  display: inline-block; padding: 0.35em 1em; border-radius: 999px;
  font: 600 0.95rem/1.3 var(--font-head);
  background: var(--orange-soft); color: var(--ink); border: 2px solid var(--ink);
  transform: rotate(-4deg);
}
.band-orange .sticker { background: var(--cream); }

/* Placeholder marks. Hide all draft labels at launch with: .draft { display: none; } */
.draft { margin-bottom: 1.5rem; }
.mary-gap { border-bottom: 2px dashed currentColor; padding-bottom: 1px; font-style: italic; }
.band-cream .mary-gap, .card .mary-gap { color: var(--orange-text); }
.sample-badge {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 4px 12px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font: 600 0.75rem/1.4 var(--font-head);
}

/* Header */
.site-header { background: var(--ink); color: var(--cream); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.brand { display: block; padding-block: 10px; margin-right: auto; }
.brand img { width: clamp(150px, 16vw, 200px); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 0.9rem; border-radius: 999px;
  font: 500 1rem/1 var(--font-head); text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--orange-soft); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--cream); color: var(--ink); }
.nav-toggle {
  display: none; min-height: 44px; min-width: 44px; padding: 0 1.1rem; border-radius: 999px;
  border: 2px solid var(--orange-soft); background: transparent; color: var(--cream);
  font: 600 1rem/1 var(--font-head); cursor: pointer;
}
.header-cta { min-height: 48px; padding-inline: 1.4em; }

/* Hero */
.hero { overflow: hidden; padding-block: clamp(3.5rem, 8vw, 7rem) clamp(5rem, 10vw, 8.5rem); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 2rem; }
.hero h1 { max-width: 11ch; }
.lead { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); max-width: 30ch; margin: 1.5rem 0 2.25rem; font-weight: 500; }
.hero-slice { width: min(100%, 460px); height: auto; aspect-ratio: 1; justify-self: end; transform: rotate(var(--spin, 0deg)); }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.page-hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(5rem, 9vw, 7rem); }
.page-hero { overflow: hidden; }
.page-slice { position: absolute; width: clamp(220px, 34vw, 480px); height: auto; aspect-ratio: 1; right: -8%; bottom: -30%; transform: rotate(var(--spin, 0deg)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 14ch; font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.8rem); }

/* Load moment: hero copy rises, slice rolls in */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s cubic-bezier(.2,.8,.2,1) backwards; }
  .rise:nth-child(2) { animation-delay: 0.08s; }
  .rise:nth-child(3) { animation-delay: 0.16s; }
  .rise:nth-child(4) { animation-delay: 0.24s; }
  .hero-slice { animation: roll-in 1.1s cubic-bezier(.2,.8,.2,1) backwards; }
  .photo img, .card .photo img { transition: transform 0.4s ease; }
  .card:hover .photo img { transform: scale(1.05); }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes roll-in { from { opacity: 0; transform: translateX(40%) rotate(160deg); } }

/* Photos */
.photo { position: relative; overflow: hidden; margin: 0; background: var(--orange-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 50% 50% var(--radius) var(--radius);
  border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--orange);
  display: grid; place-items: center; text-align: center; padding: 2rem;
  background: var(--orange-soft); overflow: hidden;
}
.portrait .sample-badge { top: auto; bottom: 18px; left: 50%; transform: translateX(-50%); }
.portrait-label { font: 700 1.3rem/1.3 var(--font-head); max-width: 10ch; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Service and package cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2vw, 1.75rem); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); color: var(--ink);
  border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-off) var(--shadow-off) 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 10px 10px 0 var(--ink); }
.card .photo { aspect-ratio: 4 / 3; border-bottom: 3px solid var(--ink); }
.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-body p { color: var(--muted); }
.card-body p.sticker { color: var(--ink); }
.package .card-body { padding-top: 1.8rem; gap: 1rem; }
.package .sticker { align-self: flex-start; margin-top: auto; }
.package .btn { align-self: flex-start; margin-top: 0.5rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.step { display: flex; flex-direction: column; gap: 1.25rem; }
.badge { position: relative; width: 112px; aspect-ratio: 1; display: grid; place-items: center; }
.badge .slice { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.step:hover .badge .slice { transform: rotate(45deg); }
.badge-num {
  position: relative; width: 52px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--orange-soft); font: 800 1.6rem/1 var(--font-head);
}
.step p { font-size: 1.25rem; line-height: 1.5; max-width: 22ch; }
.steps-cta { margin-top: clamp(3rem, 6vw, 4.5rem); }

/* Carousel */
.carousel { position: relative; }
.track {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0.5rem var(--gutter) 1.5rem; margin: 0; list-style: none; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(78vw, 520px); scroll-snap-align: center; }
.slide .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 3px solid var(--ink); box-shadow: var(--shadow-off) var(--shadow-off) 0 var(--ink); }
.carousel-controls { display: flex; gap: 0.75rem; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink);
  background: var(--cream); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  font: 700 1rem/1 var(--font-head); transition: transform 0.15s ease;
}
.round-btn:hover { transform: rotate(-8deg) scale(1.06); }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.round-btn[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

/* About split */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.split-copy p { font-size: 1.2rem; max-width: 36ch; }
.split-copy .btn { margin-top: 1rem; }

/* Certifications: empty round slots */
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.cert {
  aspect-ratio: 1; max-width: 260px; width: 100%; margin-inline: auto; border-radius: 50%;
  border: 3px dashed var(--orange-soft); display: grid; place-items: center; text-align: center; padding: 2rem;
  font: 600 1.1rem/1.3 var(--font-head); color: var(--orange-soft);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-lines { list-style: none; margin: 2rem 0 2.25rem; padding: 0; display: grid; gap: 0.75rem; }
.contact-lines a {
  display: inline-flex; align-items: center; min-height: 44px; gap: 0.6rem;
  font: 700 clamp(1.2rem, 1rem + 1vw, 1.6rem)/1.2 var(--font-head); text-decoration: none;
  border-bottom: 3px solid var(--ink);
}
.contact-lines a:hover { border-bottom-color: var(--cream); }
.contact-lines span { font: 500 1rem/1 var(--font-head); }
.form {
  background: var(--white); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--ink); padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.1rem;
}
.form label { display: grid; gap: 0.35rem; font: 600 1rem/1.3 var(--font-head); }
.form input, .form textarea {
  font: inherit; font-family: var(--font-body); font-weight: 400; font-size: 1rem; color: var(--ink);
  min-height: 48px; padding: 0.7rem 1rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--cream);
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.form .btn { justify-self: start; cursor: pointer; }
.form-note { color: var(--muted); font-size: 0.95rem; }

/* Plug-in spots (hidden until used) */
.plugin-slot[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding-block: 4rem 2.5rem; }
.footer-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
.footer-in img { width: 220px; }
.footer-in ul { list-style: none; margin: 0; padding: 0; }
.footer-in a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-in a:hover { color: var(--orange-soft); text-decoration: underline; }
.footer-small { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--muted); font-size: 0.95rem; color: var(--rule); }
.social svg { width: 24px; height: 24px; fill: currentColor; }

/* Tablet */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
}

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); padding: 0.5rem var(--gutter) 1.5rem; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { min-height: 48px; font-size: 1.1rem; }
  .header-in { min-height: 72px; }
  .hero-in, .split, .contact-grid, .footer-in { grid-template-columns: 1fr; }
  .hero-slice { position: absolute; width: 220px; right: -90px; top: -60px; opacity: 0.9; z-index: 0; }
  .hero-copy { position: relative; z-index: 1; }
  .hero h1 { max-width: 9ch; }
  .cards, .steps, .certs { grid-template-columns: 1fr; }
  .step { flex-direction: row; align-items: center; }
  .badge { width: 88px; flex: none; }
  .badge-num { width: 42px; font-size: 1.3rem; }
  .cert { max-width: 220px; }
  .portrait { max-width: 340px; }
  .section-head { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
