/* Tribe & Origin — option 2. Identity drawn from the client's packaging:
   pouch lime band, white label panel. Type: Inter throughout (plain, per the client's 30 Sept revision). */
:root {
  --ink: #17231a;          /* fynbos ink */
  --ink-2: #33403a;
  --stone: #6b7263;
  --lime: #c9d66b;         /* pouch band */
  --lime-deep: #a9b94a;
  --sage: #eef1e2;         /* lime tint for alternate sections */
  --white: #ffffff;
  --rooibos: #9c4322;
  --rule: rgba(23, 35, 26, .14);

  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;  /* small uppercase labels */

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 80px;
  --block: clamp(72px, 10vw, 136px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink-2); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-optical-sizing: auto; }
h2 { font-weight: 600; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-weight: 700; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; }

/* Label: the utility voice, set like the small caps on their pouch labels */
.label { display: flex; align-items: center; gap: 10px; font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin: 0 0 18px; }
.label::before { content: ""; width: 9px; height: 9px; background: var(--lime); flex: none; }
.label-light { color: rgba(255,255,255,.82); }
.sub { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin: 8px 0 16px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--body); text-decoration: none; padding: 17px 26px; border-radius: 999px; border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn::after { content: "→"; transition: transform .2s; }
.btn:hover::after { transform: translateX(3px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d6e27e; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost::after { content: "↓"; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost:hover::after { transform: translateY(2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #24362a; }
.btn-download::after { content: "↓"; }
.btn-download:hover::after { transform: translateY(2px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background-color .3s, box-shadow .3s; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { position: relative; display: block; width: 95px; height: 44px; }
.logo { position: absolute; inset: 0; width: 95px; height: auto; transition: opacity .25s; }
.logo-dark { opacity: 0; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: #fff; text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.site-nav a:not(.nav-cta):hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-cta { border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; padding: 9px 18px; }
.nav-cta:hover { background: var(--lime); border-color: var(--lime); color: var(--ink) !important; }
.site-header.is-solid { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--rule); }
.site-header.is-solid .logo-light { opacity: 0; }
.site-header.is-solid .logo-dark { opacity: 1; }
.site-header.is-solid .site-nav a { color: var(--ink); }
.site-header.is-solid .nav-cta { border-color: var(--ink); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: #26331f; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14,22,15,.78) 0%, rgba(14,22,15,.35) 55%, rgba(14,22,15,.1) 100%),
  linear-gradient(180deg, rgba(14,22,15,.45) 0%, rgba(14,22,15,0) 30%, rgba(14,22,15,.55) 100%); }
.hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; }
.hero h1 { color: #fff; font-weight: 600; font-size: clamp(2.6rem, 6.8vw, 6rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 30px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--lime); }
.hero-lead { max-width: 540px; font-size: 1.08rem; color: rgba(255,255,255,.9); margin-bottom: 32px; }

/* Manifest strip: origin → market, true data about the two offices */
.manifest { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.22); background: rgba(14,22,15,.55); backdrop-filter: blur(6px); }
.manifest-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; }
.stop { display: grid; gap: 3px; margin: 0; }
.stop .k { font: 500 0.66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.stop .v { font: 600 0.98rem/1.2 var(--body); color: #fff; }
.stop .c { font: 500 0.7rem/1 var(--mono); color: rgba(255,255,255,.6); letter-spacing: .04em; }
.route { position: relative; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.7) 0 6px, transparent 6px 12px); }
.route::before, .route::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-50%); }
.route::before { left: 0; background: #fff; }
.route::after { right: 0; background: var(--lime); }
.stop.cats { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.22); }

/* Load sequence */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1.reveal { animation-delay: .08s; }
  .hero-lead.reveal { animation-delay: .22s; }
  .actions.reveal { animation-delay: .32s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Quote */
.quote { padding: clamp(72px, 9vw, 120px) 0; }
.quote blockquote { margin: 0 0 26px; }
.quote blockquote p { font: 500 clamp(1.7rem, 3.6vw, 3rem)/1.12 var(--display); letter-spacing: -0.02em; color: var(--ink); margin: 0; max-width: 24ch; }
.quote em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); }

/* Blocks */
.block { padding: var(--block) 0; }
.block-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.block-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.block-head.split > p { margin: 0; max-width: 520px; }

/* Roots */
.roots { border-top: 1px solid var(--rule); }
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.city-photo { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; background: var(--sage); }
.city-photo img { width: 100%; height: 100%; object-fit: cover; }
.city-photo-prague img { object-position: center 25%; }  /* keep the castle spires in frame */
.pin { position: absolute; left: 14px; bottom: 14px; font: 500 0.68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; background: var(--white); color: var(--ink); padding: 8px 10px; border-radius: 3px; }
.city h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.city p:last-child { max-width: 54ch; }
.turnkey { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 64px; align-items: baseline; margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 2px solid var(--ink); }
.turnkey h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.turnkey p { font-size: 1.15rem; color: var(--ink); margin: 0; max-width: 56ch; }

/* Team */
.team { background: var(--sage); }
.profile { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 72px; padding: 48px 0; border-top: 1px solid var(--rule); }
.profile:last-child { padding-bottom: 0; }
.profile-head { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.profile h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.025em; }
.profile .label { margin-bottom: 14px; }
.profile-body p { max-width: 60ch; }

/* Niche */
.kicker { font: 500 clamp(1.1rem, 1.8vw, 1.35rem)/1.45 var(--display); color: var(--stone); letter-spacing: -0.01em; margin: 0 0 20px; }
.niche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; align-items: start; }
.niche-copy p { max-width: 56ch; }
.stamps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 28px; }
.stamps li { font: 500 0.7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; padding: 8px 10px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.point { border-top: 3px solid var(--lime); padding-top: 18px; }
.point h3 { font-size: 1.2rem; margin-bottom: 8px; }
.point p { margin: 0; font-size: 0.98rem; }
.points-4 { grid-template-columns: repeat(4, 1fr); }

/* Signature: label panels on the pouch-lime band */
.labels { background: var(--lime); }
.labels .label { color: var(--ink); }
.labels .label::before { background: var(--ink); }
.labels .block-head.split > p { color: var(--ink); }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 22px 26px 20px; display: flex; flex-direction: column; box-shadow: 0 18px 40px -24px rgba(23,35,26,.45); }
.panel-brand { font: 500 0.68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 18px; }
.panel img { width: 100%; aspect-ratio: 16 / 8; object-fit: contain; margin-bottom: 22px; }
.panel h3 { font-weight: 600; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
.panel > p:not(.panel-brand):not(.panel-foot) { max-width: 40ch; flex: 1; }
.panel-foot { display: flex; margin: 8px 0 0; padding-top: 12px; border-top: 1.5px solid var(--ink); font: 500 0.66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.panel-foot span + span { margin-left: 14px; padding-left: 14px; border-left: 1.5px solid var(--ink); }

/* Range */
.product { display: grid; grid-template-columns: 7fr 5fr; gap: 40px 64px; align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule); }
.product:last-child { padding-bottom: 0; }
.product-flip { grid-template-columns: 5fr 7fr; }
.product-flip .product-photo { order: 2; }
.product-photo { position: relative; }
.product-photo img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.tag-panel { position: absolute; left: 20px; bottom: -28px; width: min(300px, 78%); background: var(--white); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 10px; box-shadow: 0 18px 40px -20px rgba(23,35,26,.5); border-top: 10px solid var(--lime); }
.tag-panel .panel-brand { margin: 0; }
.tag-title { font: 600 1.55rem/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.tag-cat { font: 500 0.66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); padding-top: 10px; border-top: 1.5px solid var(--ink); }
.product-copy p { max-width: 58ch; }
.text-link { font-weight: 600; color: var(--ink); text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--ink); }
.certs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 22px; }
.certs li { display: flex; align-items: center; gap: 10px; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px 6px 6px; font: 500 0.68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.certs img { width: 30px; height: 30px; object-fit: contain; }
.certs .cert-text { padding: 6px 14px; min-height: 44px; }
.brochure { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 28px; padding: 24px 28px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.brochure > div { flex: 1 1 420px; }
.brochure h3 { font-size: 1.15rem; margin-bottom: 4px; }
.brochure p { margin: 0; color: var(--stone); }

/* Difference */
.difference { background: var(--sage); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(56px, 7vw, 88px); padding-top: 32px; border-top: 2px solid var(--ink); }
.cta-row h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

/* Contact */
.contact { background: var(--ink); color: rgba(255,255,255,.8); padding: var(--block) 0; }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 80px; align-items: end; }
.contact h2 { color: #fff; font-weight: 600; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -0.03em; }
.contact-side p { max-width: 44ch; margin-bottom: 28px; }
.contact-mail { margin: 22px 0 0 !important; font: 500 0.8rem/1 var(--mono); letter-spacing: .06em; }
.contact-mail a { color: var(--lime); text-decoration: none; }
.contact-mail a:hover { text-decoration: underline; }

/* Footer */
.site-footer { padding: 36px 0 44px; font-size: 0.85rem; color: var(--stone); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 32px; }
.footer-logo { width: 76px; }
.footer-place { margin: 0; font: 500 0.7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.footer-nav { grid-column: 1 / 3; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a, .footer-mail { color: var(--ink); text-decoration: none; }
.footer-nav a:hover, .footer-mail:hover { text-decoration: underline; text-decoration-color: var(--lime-deep); text-underline-offset: 4px; }
.footer-mail { grid-column: 3; grid-row: 1; font-weight: 600; }
.footer-base { grid-column: 1 / -1; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 0.78rem; }

/* Tablet */
@media (max-width: 980px) {
  .block-head.split, .cities, .niche-grid, .panels, .contact-inner, .turnkey { grid-template-columns: 1fr; }
  .points-4 { grid-template-columns: 1fr 1fr; }
  .product, .product-flip { grid-template-columns: 1fr; gap: 56px; }
  .product-flip .product-photo { order: 0; }
  .profile { grid-template-columns: 1fr; gap: 12px; }
  .profile-head { position: static; }
  .manifest-inner { grid-template-columns: auto 1fr auto; }
  .stop.cats { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: #fff; }
  .site-header.is-solid .menu-toggle, .site-header.menu-open .menu-toggle { color: var(--ink); }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; } .bars::after { top: 7px; }
  .menu-open .bars { background: transparent; }
  .menu-open .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--gutter) 24px; box-shadow: 0 16px 30px rgba(0,0,0,.1); display: none; }
  .site-nav a { color: var(--ink) !important; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .nav-cta { border: 0; border-radius: 0; padding: 14px 0; }
  .menu-open .site-nav { display: flex; }
  .site-header.menu-open { background: #fff; }
  .site-header.menu-open .logo-light { opacity: 0; }
  .site-header.menu-open .logo-dark { opacity: 1; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .points, .points-4 { grid-template-columns: 1fr; gap: 28px; }
  .manifest-inner { gap: 14px; }
  .stop .c { display: none; }
  .hero-inner { padding-bottom: 40px; }
  .panel { padding: 18px 18px 16px; }
  .tag-panel { left: 12px; bottom: -22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav, .footer-mail { grid-column: auto; grid-row: auto; }
}
