/* Asterr Mossaick — "Every piece matters." */
:root {
  --teal: #0f3d3e;
  --teal-deep: #0a2c2d;
  --teal-soft: #1d5658;
  --beige: #e9dccb;
  --beige-soft: #f2e9dc;
  --coral: #d9806b;
  --coral-deep: #c56a55;
  --ivory: #faf7f1;
  --gold: #b89a5e;
  --ink: #1e2626;
  --muted: #5c6766;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.section--teal { background: var(--teal); color: var(--ivory); }
.section--deep { background: var(--teal-deep); color: var(--ivory); }
.section--beige { background: var(--beige); }
.section--beige-soft { background: var(--beige-soft); }
.center { text-align: center; }

/* ---------- Brand devices ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--coral);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--teal .eyebrow, .section--deep .eyebrow { color: var(--beige); }

.piece-tag {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500;
  color: var(--gold);
}
.display { font-size: clamp(44px, 7.5vw, 104px); letter-spacing: -.01em; }
.h2 { font-size: clamp(36px, 5vw, 64px); }
.h3 { font-size: clamp(26px, 3vw, 36px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.serif-italic { font-family: var(--serif); font-style: italic; }
.gold { color: var(--gold); }
.coral { color: var(--coral); }

.shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.shapes span { position: absolute; display: block; opacity: .9; }
.section > .wrap { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: 16px 30px; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn--coral { background: var(--coral); color: #fff; }
.btn--coral:hover { background: var(--coral-deep); }
.btn--teal { background: var(--teal); color: var(--ivory); }
.btn--teal:hover { background: var(--teal-soft); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ivory); color: var(--teal); border-color: var(--ivory); }
.btn--sm { padding: 12px 20px; font-size: 12px; min-height: 44px; }
.link-arrow {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

/* "Book an appointment" block that follows every service */
.book-appt {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(15,61,62,.15);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
}
.section--teal .book-appt, .section--deep .book-appt { border-top-color: rgba(250,247,241,.2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 44, 45, .96); backdrop-filter: blur(8px);
  color: var(--ivory);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; object-fit: contain; border-radius: 2px; }
.brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: .34em; color: var(--beige); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a.nav-link {
  text-decoration: none; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400;
  opacity: .85; padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { opacity: 1; border-bottom-color: var(--coral); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(250,247,241,.4); color: var(--ivory);
  width: 46px; height: 46px; cursor: pointer; border-radius: var(--radius);
}
.nav-toggle span { display: block; width: 20px; height: 1px; background: currentColor; margin: 5px auto; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
    background: var(--teal-deep); flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a.nav-link { font-size: 15px; }
  .header-cta-desktop { display: none; }
}
@media (min-width: 981px) { .nav .nav-cta-mobile { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--teal); color: var(--ivory); min-height: calc(100vh - 78px); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; padding: 80px 0; }
.hero h1 { margin-bottom: .35em; }
.hero-list { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; margin: 0 0 28px; color: var(--beige); }
.hero-list span { display: block; opacity: 0; transform: translateY(10px); animation: rise .7s forwards; }
.hero-statement { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-style: italic; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.mosaic-frame { position: relative; aspect-ratio: 4 / 5; }
.mosaic-frame .tile { position: absolute; overflow: hidden; background: var(--teal-soft); }
.mosaic-frame .tile img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-frame .t1 { inset: 0 18% 22% 0; }
.mosaic-frame .t2 { right: 0; bottom: 0; width: 46%; height: 42%; border: 8px solid var(--teal); }
.mosaic-frame .t3 { right: 4%; top: 6%; width: 12%; aspect-ratio: 1; background: var(--coral); }
.mosaic-frame .t4 { left: -6%; bottom: 12%; width: 14%; aspect-ratio: 1; background: transparent; border: 1px solid var(--gold); }
.mosaic-frame .t2 img { object-position: 30% 20%; }

@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mosaic-frame { max-width: 440px; width: 100%; margin: 0 auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--teal); color: var(--ivory); padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.page-hero .lead { color: var(--beige); }

/* ---------- Question section ---------- */
.question-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; max-width: 860px; margin: 34px auto; }
.question-list span {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); font-style: italic;
  padding: 6px 18px; border: 1px solid rgba(15,61,62,.18); border-radius: 40px;
}
.answer { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); color: var(--coral); margin-top: 26px; }

/* ---------- Mosaic philosophy ---------- */
.mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.mosaic-grid .piece {
  aspect-ratio: 1; padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(250,247,241,.18);
  opacity: 0; transform: translate(var(--dx, 0), var(--dy, 30px)) rotate(var(--r, 0deg));
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.mosaic-grid.in .piece { opacity: 1; transform: none; }
.mosaic-grid .piece small { font-size: 11px; letter-spacing: .3em; color: var(--gold); }
.mosaic-grid .piece strong { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); }
.mosaic-grid .piece:nth-child(3n+1) { background: rgba(250,247,241,.04); }
.mosaic-grid .piece:nth-child(4n+2) { background: var(--teal-soft); }
.mosaic-grid .piece:nth-child(5) { background: var(--coral); border-color: var(--coral); }
.mosaic-grid .piece:nth-child(5) small { color: var(--ivory); }
.mosaic-grid .piece:nth-child(8) { background: var(--beige); color: var(--teal); border-color: var(--beige); }
@media (max-width: 760px) { .mosaic-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Method ---------- */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid rgba(15,61,62,.2); }
.method-step { padding: 34px 28px 10px 0; border-right: 1px solid rgba(15,61,62,.12); }
.method-step + .method-step { padding-left: 28px; }
.method-step:last-child { border-right: 0; }
.method-step .num { font-family: var(--serif); font-size: 54px; color: var(--coral); line-height: 1; }
.method-step h3 { font-family: var(--sans); font-size: 15px; letter-spacing: .28em; font-weight: 500; margin: 18px 0 12px; }
.method-step p { color: var(--muted); }
.method-close { margin-top: 60px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); max-width: 760px; }
@media (max-width: 860px) {
  .method { grid-template-columns: 1fr 1fr; }
  .method-step { border-right: 0; border-bottom: 1px solid rgba(15,61,62,.12); padding: 28px 18px 18px 0 !important; }
}
@media (max-width: 520px) { .method { grid-template-columns: 1fr; } }

/* ---------- Pieces (services) ---------- */
.pieces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; }
.piece-card {
  background: var(--ivory); padding: clamp(28px, 4vw, 48px); position: relative;
  border: 1px solid rgba(15,61,62,.1); display: flex; flex-direction: column;
}
.piece-card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 46px; height: 46px; background: var(--c, var(--coral));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.piece-card h3 { font-size: clamp(32px, 3.6vw, 46px); margin: 14px 0 6px; color: var(--teal); }
.piece-card .tagline { font-family: var(--serif); font-style: italic; font-size: 22px; margin-bottom: 14px; }
.piece-card .keywords { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.piece-card .grow { flex: 1; }
.piece-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.piece-card li { padding: 9px 0; border-bottom: 1px solid rgba(15,61,62,.08); display: flex; gap: 12px; }
.piece-card li::before { content: ""; flex: 0 0 7px; height: 7px; margin-top: 11px; background: var(--c, var(--coral)); transform: rotate(45deg); }
@media (max-width: 760px) { .pieces { grid-template-columns: 1fr; } }

/* ---------- Where are you ---------- */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(250,247,241,.15); margin-top: 56px; border: 1px solid rgba(250,247,241,.15); }
.path { background: var(--teal); padding: 36px 28px; transition: background .3s; }
.path:hover { background: var(--teal-soft); }
.path h3 { font-family: var(--sans); font-size: 14px; letter-spacing: .22em; font-weight: 500; color: var(--beige); margin-bottom: 14px; }
.path p { font-family: var(--serif); font-size: 22px; line-height: 1.35; font-style: italic; }
@media (max-width: 980px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Experiences ---------- */
.experiences { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; }
.exp-card { padding: clamp(28px, 4vw, 46px); background: var(--ivory); border-left: 3px solid var(--c, var(--coral)); display: flex; flex-direction: column; }
.exp-card h3 { font-family: var(--sans); font-size: 15px; letter-spacing: .26em; font-weight: 500; color: var(--teal); margin: 12px 0 10px; }
.exp-card .tagline { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-style: italic; }
.exp-card .grow { flex: 1; }
@media (max-width: 760px) { .experiences { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.founder-photo::before { content: ""; position: absolute; left: -18px; top: -18px; width: 42%; height: 38%; border: 1px solid var(--gold); z-index: -1; }
.founder-photo::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 70px; height: 70px; background: var(--coral); }
.founder .roles { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.45; color: var(--teal); margin: 18px 0 24px; }
.founder blockquote { margin: 0 0 30px; padding-left: 22px; border-left: 2px solid var(--coral); font-size: 18px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 460px; } }

/* ---------- Promise ---------- */
.promise-list { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.35; margin: 34px 0; }
.promise-list span { display: block; }
.promise-list span:last-child { color: var(--coral); font-style: italic; }

/* ---------- Final CTA ---------- */
.cta-final { text-align: center; }
.cta-final p { max-width: 680px; margin: 0 auto 1em; color: var(--beige); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.quote { background: var(--ivory); padding: 32px; border-top: 3px solid var(--gold); }
.quote p { font-family: var(--serif); font-size: 21px; font-style: italic; line-height: 1.45; }
.quote cite { font-style: normal; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); }
.chooser { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 28px 0 40px; }
.chooser input { position: absolute; opacity: 0; pointer-events: none; }
.chooser label {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px;
  border: 1px solid rgba(15,61,62,.25); cursor: pointer; font-size: 12px; letter-spacing: .22em; font-weight: 500;
  transition: all .2s; padding: 8px;
}
.chooser input:checked + label { background: var(--teal); color: var(--ivory); border-color: var(--teal); }
.chooser input:focus-visible + label { outline: 2px solid var(--coral); outline-offset: 2px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; background: #fff;
  border: 1px solid rgba(15,61,62,.2); border-radius: var(--radius); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,61,62,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-success { display: none; padding: 26px; background: var(--beige-soft); border-left: 3px solid var(--coral); margin-top: 18px; }
.form-success.show { display: block; }
.form-error { display: none; margin: 14px 0 0; font-size: 15px; color: var(--coral-deep); }
.form-error.show { display: block; }
.form-error a { color: inherit; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .chooser { grid-template-columns: 1fr 1fr; } .field-row { grid-template-columns: 1fr; } }

/* ---------- Two-col utility ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Hierarchy ---------- */
.hierarchy { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 40px; }
.hierarchy .lvl { text-align: center; padding: 18px 10px; }
.hierarchy .lvl strong { display: block; font-size: clamp(14px, 1.6vw, 18px); letter-spacing: .26em; font-weight: 500; }
.hierarchy .lvl em { font-family: var(--serif); font-size: 19px; color: var(--muted); }
.hierarchy .arrow { color: var(--coral); font-size: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: var(--beige); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); font-weight: 500; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: var(--coral); }
.footer-tag { font-family: var(--serif); font-size: 30px; color: var(--ivory); margin: 16px 0; }
.footer-bottom { border-top: 1px solid rgba(233,220,203,.15); margin-top: 56px; padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating booking button (mobile) */
.float-book { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
@media (max-width: 980px) { .float-book { display: inline-flex; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .mosaic-grid .piece, .hero-list span { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* Home hero — logo, wordmark, pillars */
.hero-logo { display: block; width: clamp(96px, 11vw, 150px); height: auto; margin: 0 0 22px; }
.hero-brand {
  font-family: var(--serif);
  font-weight: normal;
  font-size: clamp(24px, 2.7vw, 38px);
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
  line-height: 1.3;
  margin: 0 0 18px;
  color: var(--ivory);
}
.hero-pillars { font-family: var(--sans); font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin: 0 0 28px; line-height: 1.7; }
@media (max-width: 860px) {
  .hero-grid { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-brand { font-size: min(6vw, 34px); }
}
.hero-pillars .nowrap { white-space: nowrap; }
