/* Tégō Shade: shared styles
   Palette: linen ground, deep canopy green, brass for prices. Type: Cormorant Garamond for
   headings, Jost (geometric, like the Tégō wordmark) for everything else. */
/* Jost is self-hosted (fonts/, from the official Jost release, OFL licence) because the Google Fonts copy
   draws the macron on "Tégō" out of place. Cormorant Garamond still comes from Google Fonts. */
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/jost-400.woff") format("woff"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/jost-500.woff") format("woff"); }
:root {
  --linen: #f2eee6;
  --paper: #fbfaf7;
  --ink: #1f2421;
  --stone: #6b675e;
  --line: #ddd6c9;
  --canopy: #2f4a40;
  --canopy-ink: #f4f1ea;
  --brass: #8a6838;
  --field: #ffffff;
  --shadow-photo: #d9d2c4;
  --ph-light: rgba(255,255,255,.35);
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
/* Always the light, cream look, whatever the visitor's device setting (dark theme removed 2026-10-15). */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 17px/1.6 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--canopy); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(44px, 7.5vw, 92px); line-height: 1.0; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; }
h3 { font-size: 28px; line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: 19px; line-height: 1.65; color: var(--stone); max-width: 60ch; }
.small { font-size: 14px; color: var(--stone); }
.price { font-family: var(--font-display); font-weight: 600; color: var(--brass); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background-color .25s ease, box-shadow .25s ease; }
.site-header .bar { display: flex; align-items: center; gap: 28px; height: 80px; }
.site-header .logo { margin-right: auto; line-height: 0; }
.site-header .logo img { height: 50px; width: auto; }
.site-header nav { display: flex; gap: 28px; align-items: center; }
.site-header nav a { text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-header .contact { border: 1px solid currentColor; border-radius: 999px; padding: 8px 18px; }
/* Help drop-down in the top bar */
.site-header .help { position: relative; }
.site-header .help-btn { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: 500 15px var(--font-body); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 6px; }
.site-header .help-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.site-header .help.open .help-btn::after, .site-header .help:hover .help-btn::after { transform: translateY(1px) rotate(225deg); }
.site-header .help-btn:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-header .help-menu { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 4px); padding-top: 18px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.site-header .help:hover .help-menu, .site-header .help.open .help-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.site-header .help-panel { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 12px 32px rgba(40,34,24,.12); padding: 8px; min-width: 280px; }
.site-header .help-panel a { display: block; padding: 10px 14px; border-radius: 4px; text-decoration: none; }
.site-header .help-panel a:hover, .site-header .help-panel a:focus-visible { background: rgba(127,127,127,.09); text-decoration: none; }
.site-header .help-panel a span { display: block; font-size: 15px; font-weight: 500; }
.site-header .help-panel a small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--stone); letter-spacing: 0; }
.site-header .help-panel a[aria-current="page"] span { color: var(--canopy); }
.site-header .menu-btn { display: none; background: none; border: 0; color: inherit; font: 500 15px var(--font-body); padding: 8px 0; cursor: pointer; }
/* Logo: black on the page, white over the hero photo */
.logo .on-dark { display: none; }
.site-header.over-hero { color: #fbfaf7; }
.site-header.over-hero .logo .on-dark { display: block; }
.site-header.over-hero .logo .on-light { display: none; }
/* Once scrolled (and on pages without a hero): solid */
.site-header.solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.page-top { padding-top: 80px; }
@media (max-width: 760px) {
  .site-header .bar { height: 64px; gap: 16px; }
  .site-header .logo img { height: 42px; }
  .site-header .menu-btn { display: block; }
  .site-header nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 20px; box-shadow: 0 1px 0 var(--line); }
  .site-header nav a { padding: 12px 0; font-size: 17px; }
  .site-header nav .contact { border: 0; padding: 12px 0; }
  .site-header .help { width: 100%; padding: 6px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0; }
  .site-header .help-btn { pointer-events: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); padding: 8px 0 2px; }
  .site-header .help-btn::after { display: none; }
  .site-header .help-menu { position: static; transform: none; opacity: 1; visibility: visible; padding: 0; }
  .site-header .help:hover .help-menu, .site-header .help.open .help-menu { transform: none; }
  .site-header .help-panel { background: none; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .site-header .help-panel a { padding: 10px 0; }
  .site-header .help-panel a span { font-size: 17px; }
  .site-header .help-panel a small { display: none; }
  .site-header.open nav { display: flex; }
  .page-top { padding-top: 64px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 15px/1 var(--font-body); letter-spacing: .03em;
  padding: 16px 28px; border-radius: 999px; border: 1px solid var(--canopy); background: var(--canopy); color: var(--canopy-ink);
  text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--canopy); }
.btn.light { background: #fbfaf7; border-color: #fbfaf7; color: #1f2421; }
.btn.light-ghost { background: transparent; border-color: #fbfaf7; color: #fbfaf7; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ---------- Photo placeholders ---------- */
.photo { position: relative; background: var(--shadow-photo); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center;
  font-size: 13px; color: var(--stone); background:
    radial-gradient(60% 50% at 30% 30%, var(--ph-light), transparent 70%),
    radial-gradient(40% 40% at 75% 70%, rgba(0,0,0,.06), transparent 70%); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 120px; padding-block: 48px 64px; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
.site-footer .logo img { height: 46px; width: auto; }
.site-footer h4 { font: 500 14px var(--font-body); color: var(--stone); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
label.field { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
select, input[type=number] { font: 400 16px var(--font-body); color: var(--ink); background: var(--field); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px; width: 100%; min-width: 0; }
select:hover { border-color: var(--stone); }

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

/* Shop section tabs (Umbrellas / Accessories) */
.shop-tabs { display: flex; flex-wrap: wrap; gap: 4px 34px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.shop-tabs a { text-decoration: none; font: 500 clamp(24px, 3vw, 30px)/1.2 var(--font-display); color: var(--stone); padding: 0 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; }
@media (max-width: 520px) { .shop-tabs { flex-wrap: nowrap; gap: 18px; overflow-x: auto; scrollbar-width: none; } .shop-tabs a { font-size: 19px; white-space: nowrap; } }
.shop-tabs a:hover { color: var(--ink); }
.shop-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--canopy); }

/* Chat button and panel (bottom right, every page) */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; justify-items: end; gap: 12px; }
.chat-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; background: var(--canopy); color: var(--canopy-ink); font: 500 15px var(--font-body); cursor: pointer; box-shadow: 0 6px 20px rgba(15,18,16,.18); }
.chat.open .chat-btn { display: none; }
.chat-panel { width: min(360px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 40px rgba(15,18,16,.22); overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--canopy); color: var(--canopy-ink); }
.chat-head strong { display: block; font: 500 20px var(--font-display); }
.chat-head span { font-size: 14px; opacity: .9; }
.chat-close { background: none; border: 0; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 2px; align-self: start; }
.chat-form { display: grid; gap: 12px; padding: 16px 18px 18px; }
.chat-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; }
.chat-form input, .chat-form textarea { font: 400 15px var(--font-body); color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%; resize: vertical; }
.chat-form .btn { width: 100%; }
.chat-msg { font-size: 13.5px; color: var(--stone); margin: 0; min-height: 1.2em; }
.chat-done { margin: 0; color: var(--ink); }
.chat-hp { position: absolute; left: -9999px; }
@media (max-width: 520px) { .chat { right: 12px; bottom: 12px; } .chat-btn span { display: none; } .chat-btn { padding: 14px; } }

/* Enquiry form (quote requests and Contact), opened from any [data-enquiry] link */
dialog.enquiry { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 1px solid var(--line); border-radius: 10px; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 12px 40px rgba(15,18,16,.22); }
dialog.enquiry::backdrop { background: rgba(15,18,16,.6); }
.enq-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.enq-head h2 { font-size: 30px; }
.enq-close { background: none; border: 0; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; padding: 0 2px; }
.enq-form { display: grid; gap: 14px; padding: 18px 22px 22px; }
.enq-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; }
.enq-form label em { font-style: normal; font-weight: 400; color: var(--stone); }
.enq-form input, .enq-form textarea { font: 400 16px var(--font-body); color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; resize: vertical; }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .enq-row { grid-template-columns: 1fr; } }
.enq-intro { margin: 0; color: var(--stone); font-size: 15px; }
.enq-about { margin: 0; padding: 10px 12px; background: var(--linen); border-radius: 6px; font-size: 14.5px; }
.enq-about span { color: var(--stone); }
.enq-form .btn { justify-self: start; }
.enq-msg { margin: 0; font-size: 13.5px; color: var(--stone); min-height: 1.2em; }
.enq-done { margin: 0; font-size: 17px; }

/* Cookie choice (only shown once tracking IDs are set in site.js) */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 45; max-width: 460px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 40px rgba(15,18,16,.18); padding: 16px 18px; display: grid; gap: 12px; font-size: 14.5px; }
.consent p { margin: 0; color: var(--stone); }
.consent div { display: flex; gap: 10px; }
.consent .btn { padding: 11px 20px; }
body.consent-open .chat { bottom: 150px; }
@media (max-width: 520px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } body.consent-open .chat { bottom: 170px; } }

/* ---------- Cart (header button and slide-in drawer, every page) ---------- */
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -8px;
  background: none; border: 0; color: inherit; cursor: pointer; border-radius: 999px; }
.cart-btn:hover { background: rgba(127,127,127,.12); }
.cart-count:not(:empty) { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--brass); color: #fff; font: 600 11px/18px var(--font-body); text-align: center; }
@media (max-width: 760px) { .site-header .bar { gap: 12px; } }

dialog.cart-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); max-width: 100vw; height: 100%; max-height: 100%;
  border: 0; border-left: 1px solid var(--line); padding: 0; background: var(--paper); color: var(--ink);
  display: none; flex-direction: column; box-shadow: -12px 0 40px rgba(15,18,16,.18); }
dialog.cart-drawer[open] { display: flex; animation: cart-in .25s ease-out; }
dialog.cart-drawer::backdrop { background: rgba(15,18,16,.45); }
@keyframes cart-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 30px; }
.cart-close { background: none; border: 0; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; padding: 0 2px; }
.cart-added { margin: 0; padding: 12px 22px; background: var(--linen); font-size: 14.5px; }
.cart-added::before { content: "✓  "; color: var(--canopy); font-weight: 600; }
.cart-lines { list-style: none; margin: 0; padding: 4px 22px; overflow-y: auto; flex: 1; }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line:last-child { border-bottom: 0; }
.cart-img { display: block; width: 88px; aspect-ratio: 4 / 3; background: var(--linen); border-radius: 4px; overflow: hidden; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-weight: 500; text-decoration: none; line-height: 1.35; display: block; }
.cart-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.cart-detail { margin: 2px 0 0; font-size: 13.5px; color: var(--stone); line-height: 1.45; }
.cart-extras { list-style: none; margin: 4px 0 0; padding: 0; font-size: 13.5px; color: var(--stone); line-height: 1.45; }
.cart-row { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--field); }
.qty button { width: 32px; height: 32px; border: 0; background: none; color: var(--ink); font-size: 17px; cursor: pointer; border-radius: 999px; }
.qty button:disabled { color: var(--line); cursor: default; }
.qty span { min-width: 22px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.cart-remove, .linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px; color: var(--stone); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish { color: var(--canopy); font-size: inherit; }
.cart-price { font-size: 20px; white-space: nowrap; }
.cart-foot { border-top: 1px solid var(--line); padding: 16px 22px 20px; display: grid; gap: 12px; background: var(--paper); }
.cart-project { margin: 0; padding: 10px 12px; background: var(--linen); border-radius: 6px; font-size: 14px; }
.cart-sum { margin: 0; display: grid; gap: 4px; font-size: 15px; }
.cart-sum div { display: flex; justify-content: space-between; gap: 12px; }
.cart-sum dt { color: var(--stone); }
.cart-sum dd { margin: 0; }
.cart-sum div:first-child { font-size: 17px; }
.cart-sum div:first-child dt { color: var(--ink); font-weight: 500; }
.cart-sum .price { font-size: 24px; line-height: 1.1; }
.cart-checkout, .cart-continue { width: 100%; }
.cart-continue { padding-block: 13px; }
.cart-msg { margin: 0; font-size: 13.5px; color: var(--stone); min-height: 0; }
.cart-msg:empty { display: none; }
.cart-note { margin: 0; font-size: 12.5px; text-align: center; }
.cart-empty { padding: 40px 22px; display: grid; gap: 16px; justify-items: start; }
.cart-empty p { margin: 0; color: var(--stone); }
@media (max-width: 520px) {
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-img { width: 72px; }
  .cart-price { grid-column: 2; font-size: 18px; }
  .cart-head, .cart-added, .cart-lines, .cart-foot { padding-inline: 16px; }
}

/* Client logos and testimonials ([data-praise], home and Projects pages) */
.praise { padding-top: clamp(72px, 10vw, 120px); }
.praise > h2 { margin: 0 0 32px; }
.praise .clients { padding: 26px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.praise .eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); text-align: center; }
.praise .lane { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.praise .track { display: flex; width: max-content; animation: praise-glide 45s linear infinite; }
.praise .lane:hover .track { animation-play-state: paused; }
.praise .set { display: flex; align-items: center; gap: clamp(56px, 7vw, 96px); padding-right: clamp(56px, 7vw, 96px); }
.praise .client { display: block; flex: none; background: var(--ink); opacity: .62; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.praise .clients.still .lane { -webkit-mask-image: none; mask-image: none; }
.praise .clients.still .track { animation: none; width: auto; justify-content: center; }
.praise .clients.still .set { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-right: 0; }
@keyframes praise-glide { to { transform: translateX(-50%); } }

.praise .slides { padding: clamp(40px, 6vw, 64px) 0 0; text-align: center; }
.praise .stage { display: grid; max-width: 880px; margin: 0 auto; }
.praise .stage figure { grid-area: 1 / 1; margin: 0; display: grid; gap: 22px; align-content: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.praise .stage figure.on { opacity: 1; visibility: visible; transform: none; }
.praise blockquote { margin: 0; font: 500 clamp(22px, 2.6vw, 31px)/1.38 var(--font-display); text-wrap: balance; }
.praise blockquote::before { content: "\201C"; }
.praise blockquote::after { content: "\201D"; }
.praise figcaption { display: grid; gap: 2px; font-size: 15px; }
.praise figcaption strong { font-weight: 500; }
.praise figcaption span { color: var(--stone); }
.praise .controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.praise .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.praise .arrow:hover { border-color: var(--stone); }
.praise .arrow::before { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.praise .prev::before { transform: translateX(2px) rotate(135deg); }
.praise .next::before { transform: translateX(-2px) rotate(-45deg); }
.praise .dots { display: flex; gap: 4px; }
.praise .dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.praise .dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s ease, transform .2s ease; }
.praise .dots button[aria-current="true"]::before { background: var(--canopy); transform: scale(1.15); }
@media (max-width: 760px) { .praise .stage { min-height: 0; } }
