/* ==========================================================================
   HANDS ON CAPE TOWN — Clean / Professional / Trustworthy
   --------------------------------------------------------------------------
   Light, familiar booking-site aesthetic. White surfaces, soft shadows,
   rounded corners, clear hierarchy, generous spacing, explicit security
   cues at checkout. Refined rust accent carries the brand warmth.
   Serif (EB Garamond) headings · Inter for everything else.
   ========================================================================== */

:root {
  /* Palette --------------------------------------------------------------- */
  --bg:          #FFFFFF;
  --bg-soft:     #FAF8F5;   /* warm off-white section bands                  */
  --surface:     #FFFFFF;   /* cards / panels                                */
  --ink:         #1B1A18;   /* headings (warm near-black)                    */
  --body:        #4C4843;   /* body text                                     */
  --muted:       #726D66;   /* secondary text                                */
  --muted-2:     #9C968E;   /* captions                                      */
  --line:        #ECE8E1;   /* hairline borders                             */
  --line-2:      #DCD7CE;   /* stronger borders                             */
  --rust:        #B26B33;   /* brand accent + primary CTA                    */
  --rust-dark:   #97551F;   /* CTA hover                                     */
  --rust-soft:   #FAF1E8;   /* accent tint background                        */
  --green:       #2F7D55;   /* positive / trust                             */
  --green-soft:  #EAF4EE;

  --shadow-sm: 0 1px 2px rgba(20,18,15,.05), 0 1px 3px rgba(20,18,15,.06);
  --shadow-md: 0 6px 20px rgba(20,18,15,.07);
  --shadow-lg: 0 16px 40px rgba(20,18,15,.10);

  --radius:    12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--ink); }

/* --- Kicker / eyebrow ----------------------------------------------------- */
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rust);
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--rust); color: #fff; border-color: var(--rust);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust); }
.btn-block { width: 100%; }

/* --- Top bar -------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 23px; letter-spacing: -0.01em; color: var(--ink); }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 46px; width: auto; display: block; }
.topbar nav { display: flex; align-items: center; gap: 18px; }
.topbar nav a.nav-link { font-size: 14px; font-weight: 500; color: var(--muted); }
.topbar nav a.nav-link:hover { color: var(--ink); }

/* --- Reusable trust elements ---------------------------------------------- */
.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 14px; font-size: 12.5px; color: var(--muted);
}
.trust-row svg { color: var(--green); flex: none; }
.cardmarks { display: flex; justify-content: center; gap: 6px; margin-top: 9px; }
.cardmarks span {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 7px; background: var(--bg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-copy { padding: clamp(48px, 7vw, 96px) 0; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.015em;
  margin-top: 18px;
}
.hero h1 em { font-style: italic; color: var(--rust); }
.hero .sub { margin-top: 22px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 520px; }
.hero .actions { margin-top: 32px; }
.hero .trust {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 14px;
}
.hero .trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero .trust span::before { content: ""; width: 16px; height: 16px; flex: none;
  background: var(--green-soft);
  -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D55' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D55' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background: var(--green);
}
.hero-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; background: var(--line);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .hero-media { margin-bottom: 40px; } }

/* ==========================================================================
   VALUE band
   ========================================================================== */
.value { border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.value .inner { max-width: 760px; }
.value h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.01em; line-height: 1.1; margin-top: 16px; }
.value p { color: var(--muted); margin-top: 18px; font-size: clamp(16px, 1.9vw, 19px); max-width: 680px; }

/* ==========================================================================
   SECTION HEAD
   ========================================================================== */
.experience-wrap { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.01em; margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 16px; margin-top: 8px; }

/* ==========================================================================
   FEATURED EXPERIENCE
   ========================================================================== */
.featured {
  display: grid; grid-template-columns: 1fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
}
@media (min-width: 900px) { .featured { grid-template-columns: 1.05fr 0.95fr; } }
.featured-media { position: relative; min-height: 320px; display: block; background: var(--line); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: clamp(26px, 3.5vw, 48px); display: flex; flex-direction: column; }
.featured-body h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.01em; margin-top: 12px; }
.featured-body .host { margin-top: 12px; color: var(--muted); font-size: 15px; }
.featured-body .host strong { color: var(--ink); font-weight: 600; }

/* Clean info list */
.manifest { margin-top: 26px; border-top: 1px solid var(--line); }
.m-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.m-row dt { color: var(--muted); }
.m-row dd { color: var(--ink); font-weight: 600; text-align: right; }
.m-row dd.hl { color: var(--rust); }

.breakdown { margin-top: 26px; display: grid; gap: 18px; }
.breakdown .row { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start; }
.breakdown .row .k { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rust); padding-top: 3px; }
.breakdown .row .t { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.breakdown .row .t strong { color: var(--ink); font-weight: 600; }

.featured-cta { margin-top: 32px; }
.featured-cta .btn { width: 100%; }
.featured-cta .note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }

/* ==========================================================================
   DISCOVERY GRID (2+ workshops)
   ========================================================================== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card .cover { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .cover img { transform: scale(1.04); }
.price-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--ink); font-weight: 700; font-size: 13px;
  padding: 7px 12px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; }
.card .meta { color: var(--muted); font-size: 14px; }
.card .meta .dot { color: var(--muted-2); }
.avail { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.avail .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--rust); }
.avail.good .pulse { background: var(--green); }
.avail .date { color: var(--muted); font-weight: 500; }

/* ==========================================================================
   MAKER band
   ========================================================================== */
.maker { background: var(--bg-soft); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.maker .inner { max-width: 720px; }
.maker h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.01em; margin-top: 14px; }
.maker p { color: var(--muted); margin: 16px 0 28px; max-width: 560px; font-size: 17px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; color: var(--muted-2); font-size: 13px; }
footer .secure { display: inline-flex; align-items: center; gap: 7px; }
footer .secure svg { color: var(--green); flex: none; }

/* ==========================================================================
   WORKSHOP DETAIL / CHECKOUT
   ========================================================================== */
.crumbs { padding: 24px 0 4px; font-size: 13px; color: var(--muted-2); }
.crumbs a:hover { color: var(--rust); }

.detail { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); padding: 16px 0 88px; }
@media (min-width: 940px) { .detail { grid-template-columns: minmax(0, 1.6fr) minmax(330px, 1fr); align-items: start; } }

.detail-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 10; background: var(--line); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }

.detail h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.05; letter-spacing: -0.015em; margin-top: 26px; }
.byline { margin-top: 12px; color: var(--muted); font-size: 16px; }
.byline strong { color: var(--ink); font-weight: 600; }

.tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 7px 14px; }

.block { margin-top: 44px; }
.block h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); font-weight: 600; margin-bottom: 18px; }
.block p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }

.makelist { list-style: none; display: grid; gap: 12px; }
.makelist li { display: flex; align-items: flex-start; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.makelist li .check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.makelist li b { font-weight: 600; color: var(--ink); font-size: 16.5px; }
.makelist li span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 3px; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 17px; }
.spec .label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.spec .value { margin-top: 6px; font-weight: 500; font-size: 15px; color: var(--ink); }

/* --- Booking card --------------------------------------------------------- */
.widget {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 90px; box-shadow: var(--shadow-md);
}
.widget-title { display: none; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.15; color: var(--ink); margin-bottom: 16px; }
.widget .from { font-size: 13px; color: var(--muted); }
.widget .amount { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--ink); margin-top: 4px; }
.widget .amount small { font-family: var(--sans); font-size: 14px; color: var(--muted); font-weight: 400; }

.field { margin-top: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 9px; }

select {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 13px 14px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23726D66' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
}
select:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px var(--rust-soft); }
.field input[type="text"], .field input[type="email"] {
  box-sizing: border-box; width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 13px 14px; appearance: none;
}
.field input[type="text"]:focus, .field input[type="email"]:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px var(--rust-soft); }
.field-error { margin-top: 12px; font-size: 13px; font-weight: 500; color: #c0392b; }
.session-time { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }

.counter { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; }
.counter button { width: 50px; flex: none; font-size: 20px; line-height: 1; font-weight: 500; color: var(--ink); background: var(--bg); border: 0; cursor: pointer; transition: background .12s ease; }
.counter button:hover:not(:disabled) { background: var(--bg-soft); color: var(--rust); }
.counter button:disabled { opacity: .35; cursor: not-allowed; }
.counter .qty { flex: 1; display: grid; place-items: center; font-size: 17px; font-weight: 600; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

.summary { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; }
.summary .row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.summary .row.total { color: var(--ink); font-weight: 700; font-size: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.summary .row.total b { font-family: var(--serif); font-size: 22px; font-weight: 600; }

.widget .btn-primary { margin-top: 20px; }
.microcopy { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.microcopy strong { color: var(--ink); font-weight: 600; }
.reschedule { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); text-align: center; }
.reschedule a { color: var(--rust); font-weight: 500; }

/* --- Mobile sticky book bar ----------------------------------------------- */
.mobilebook {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(20,18,15,.07);
  backdrop-filter: blur(8px);
}
.mobilebook .m-price b { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.mobilebook .m-price small { display: block; font-size: 11.5px; color: var(--muted); }
.mobilebook .btn { padding: 13px 22px; }

@media (max-width: 939px) {
  .widget { position: static; }
  .detail aside { order: -1; }          /* booking card first on mobile */
  .widget-title { display: block; }
  .mobilebook { display: flex; }
  body.detail-page { padding-bottom: 84px; }
}

/* ==========================================================================
   NOTICE (success / cancel)
   ========================================================================== */
.notice { max-width: 580px; margin: clamp(56px, 11vw, 120px) auto; text-align: center; }
.notice-icon { width: 64px; height: 64px; margin: 0 auto 26px; display: grid; place-items: center; border-radius: 50%; font-size: 28px; font-weight: 800; color: var(--green); background: var(--green-soft); }
.notice-icon.cancel { color: var(--rust); background: var(--rust-soft); }
.notice h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 6vw, 46px); letter-spacing: -0.015em; line-height: 1.05; }
.notice p { color: var(--muted); margin-top: 16px; font-size: 17px; }
.notice .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
