@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;700&family=Titillium+Web:ital,wght@1,700&display=swap');

:root {
  --ground: #f5f6f8;
  --ink: #101a2e;
  --text: #2b2f38;
  --accent: #1b3a6b;
  --gold: #c9a13b;
  --turq: #14a3a8;
  --surface: #e9edf4;
  --line: rgba(16, 26, 46, 0.14);
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--text); }
body { font-family: 'Schibsted Grotesk', system-ui, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { font-family: 'Titillium Web', 'Schibsted Grotesk', system-ui, sans-serif; font-style: italic; color: var(--ink); line-height: 1.05; letter-spacing: 0.01em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(44px, 8vw, 128px); }
h2 { font-size: clamp(30px, 4.6vw, 64px); }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
section { padding-block: clamp(64px, 10vw, 128px); border-top: 1px solid var(--line); }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245, 246, 248, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.site-header img.logo { height: 44px; width: auto; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"], .site-nav a:hover { border-bottom-color: var(--gold); }
.lang { font-size: 14px; display: flex; gap: 10px; }
.lang a { color: var(--ink); text-decoration: none; }

.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 20px; display: block; }
.rule { height: 3px; width: 56px; background: var(--gold); margin: 0 0 28px; }
.lead { font-size: clamp(19px, 2vw, 24px); color: var(--ink); line-height: 1.45; }

.hero { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 80px); }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-top: 32px; max-width: 40ch; }
.hero-band { margin-top: 56px; aspect-ratio: 21 / 9; width: 100%; object-fit: cover; }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); }
.door { padding: 40px 36px 44px 0; border-bottom: 1px solid var(--line); }
.door + .door { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--line); }
.door .num { font-size: 14px; color: var(--accent); font-weight: 700; }
.door h3 { margin: 14px 0 12px; font-size: clamp(26px, 3vw, 40px); }
.door a.more { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.index-table { width: 100%; border-collapse: collapse; margin-top: 36px; }
.index-table th, .index-table td { text-align: left; vertical-align: top; padding: 22px 16px 22px 0; border-top: 1px solid var(--line); }
.index-table th { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
.index-table td.n { width: 72px; color: var(--accent); font-weight: 700; }
.index-table td.t { font-weight: 700; color: var(--ink); width: 34%; }
.index-table tr:last-child td { border-bottom: 1px solid var(--line); }

.split { align-items: start; }
.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-wide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.steps { counter-reset: s; display: grid; gap: 0; margin-top: 36px; }
.step { display: grid; grid-template-columns: 96px 1fr; padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { font-size: 40px; color: var(--accent); font-weight: 700; line-height: 1; }

.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 19px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent); }
.faq details[open] summary::after { content: '×'; }
.faq p { margin-top: 14px; }

.cta-band { background: var(--ink); color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band a { color: #fff; }

form.enquiry { display: grid; gap: 18px; margin-top: 28px; }
form.enquiry label { display: grid; gap: 8px; font-size: 15px; color: var(--ink); font-weight: 500; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  font: inherit; font-size: 16px; padding: 14px 14px; border: 1px solid rgba(16, 26, 46, 0.3); background: #fff; color: var(--ink); border-radius: 0;
}
form.enquiry textarea { min-height: 120px; }
form.enquiry .check { display: flex; gap: 10px; align-items: start; font-size: 14px; }
form.enquiry button { justify-self: start; font: inherit; font-weight: 700; padding: 16px 28px; background: var(--accent); color: #fff; border: 0; cursor: pointer; }
form.enquiry button:focus-visible, .site-nav a:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-footer { padding-block: 48px; font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: var(--ink); }

@media (max-width: 760px) {
  .grid12 > * { grid-column: 1 / -1 !important; }
  .doors { grid-template-columns: 1fr; }
  .door + .door { padding-left: 0; border-left: 0; }
  .index-table td.t { width: auto; }
  .index-table td.n { width: 48px; }
  .hero-band { aspect-ratio: 4 / 3; }
}
/* Fallback: without scroll or view timelines every element stays in place and fully visible. */
/* review fixes: fit phones, tap sizes, scroll and load motion */
.photo, .photo-wide, .hero-band { aspect-ratio: auto; height: auto; }
.grid12 > * { min-width: 0; }
h1, h2, h3, p, a { overflow-wrap: anywhere; }
form.enquiry input, form.enquiry select, form.enquiry textarea { width: 100%; max-width: 100%; min-width: 0; }
form.enquiry input[type="checkbox"] { width: 24px; height: 24px; flex: none; }
.table-wrap { overflow-x: auto; max-width: 100%; }
.lang { gap: 4px; }
.lang a { padding: 0 12px; font-weight: 500; }
.lang a[aria-current="true"] { color: var(--accent); font-weight: 700; border-bottom: 2px solid var(--gold); }
.lang a, .site-footer a, .site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.faq-block { grid-column: span 7; grid-column-start: 6; }
@keyframes rise { from { transform: translateY(56px); } to { transform: none; } }
@keyframes drift { from { transform: translateY(0) scale(1); } to { transform: translateY(-140px) scale(1.08); } }
.hero > *:not(img) { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero > *:nth-child(2) { animation-delay: 0.12s; }
.hero > *:nth-child(3) { animation-delay: 0.24s; }
@supports (animation-timeline: scroll()) {
  .hero img { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0px 80vh; }
  .hero .eyebrow, .hero h1 { animation: none; }
}
@supports (animation-timeline: view()) {
  main > section:not(.hero) > * { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@media (max-width: 760px) {
  .hero { padding-block: 32px 40px; }
  h1 { font-size: clamp(36px, 10vw, 60px); }
  .faq-block { grid-column: 1 / -1; grid-column-start: auto; }
  .index-table thead { display: none; }
  .index-table, .index-table tbody { display: block; width: 100%; }
  .index-table tr { display: grid; grid-template-columns: 48px 1fr; gap: 6px 12px; padding: 18px 0; border-top: 1px solid var(--line); }
  .index-table td { display: block; padding: 0 !important; border: 0 !important; width: auto !important; }
  .index-table td.t, .index-table td:not(.n):not(.t) { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Process steps: full width on every size so the step text keeps its line length. */
.steps { width: 100%; }
.step { grid-template-columns: 96px minmax(0, 1fr); }

/* Headings in the home page's about block keep whole words on desktop. */
.grid12 h2 { overflow-wrap: break-word; hyphens: manual; }

/* Phone header: logo and language switch on one row, menu links in a scrollable row below. */
@media (max-width: 760px) {
  .site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
  .site-nav { order: 3; width: 100%; display: flex; overflow-x: auto; gap: 16px; white-space: nowrap; }
  .lang { margin-left: auto; white-space: nowrap; }
  .lang a { display: inline-block; }
}

/* Home stage, divider and packages teaser */
.hero-stage { position: relative; isolation: isolate; color: #fff; padding-block: clamp(40px, 6vw, 84px) 0; background: linear-gradient(100deg, rgba(8,18,38,0.94) 0%, rgba(8,18,38,0.72) 55%, rgba(8,18,38,0.45) 100%), url("/images/stac-in-home-hero-wide.jpg") center / cover no-repeat; }
.hero-stage h1, .hero-stage .lead { color: #fff; }
.hero-stage h1 .accent { color: var(--gold); }
.hero-stage .eyebrow { color: #e7c25a; }
.hero-stage .hero-band { margin-top: 48px; aspect-ratio: 21 / 9; }
.band { display: block; width: 100%; height: clamp(160px, 22vw, 320px); object-fit: cover; margin-top: clamp(40px, 6vw, 80px); }
.pkg-teaser { padding-block: clamp(48px, 7vw, 96px); }
.pkg-teaser .photo-wide { aspect-ratio: 21 / 9; margin-bottom: 40px; }
.pkg-teaser .pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
.pkg-teaser .pkg { box-shadow: 0 18px 40px rgba(8,18,38,0.10); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pkg-teaser .pkg:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(8,18,38,0.18); }
.pkg-teaser .pkg.featured { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .pkg-teaser .pkg { transition: none; } .pkg-teaser .pkg:hover { transform: none; } }
