*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; background: var(--canvas-top); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, summary { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
svg { flex: 0 0 auto; vertical-align: middle; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: #b3d7fd; color: var(--ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
#main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.shell { width: min(calc(100% - var(--page-gutter) * 2), var(--content-max)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-160%); background: var(--paper); padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: var(--space-5); position: relative; z-index: 5; gap: var(--space-5); }
.wordmark { width: fit-content; font-size: 28px; font-weight: var(--weight-bold); letter-spacing: .025em; line-height: 1; display: inline-flex; align-items: center; min-height: 44px; }
.header-actions { display: flex; align-items: center; gap: var(--space-2); justify-self: end; }
.desktop-nav { display: flex; align-items: center; gap: var(--space-6); }
.desktop-nav a, .footer-nav a { font-size: var(--text-ui); min-height: 44px; display: inline-flex; align-items: center; padding-block: var(--space-3); transition: color var(--duration); }
.desktop-nav a:hover, .footer-nav a:hover { color: var(--blue-ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; border: 0; border-radius: var(--radius-pill); padding: var(--space-2) var(--space-5); font-size: var(--text-ui); font-weight: var(--weight-semibold); line-height: 1.5; text-align: center; transition: background var(--duration), box-shadow var(--duration), transform var(--duration) var(--ease); }
.button svg { width: 20px; height: 20px; }
.button-quiet { background: var(--paper); box-shadow: var(--shadow-control), inset 0 1px 2px rgb(255 255 255 / 80%); }
.button-quiet:hover { background: #f6faff; }
.button-quiet:active { background: var(--control-pressed); box-shadow: none; transform: scale(.98); }
.button-ink { color: var(--paper); background: var(--gel-ink); box-shadow: var(--shadow-ink), inset 0 1px 2px rgb(255 255 255 / 16%); min-height: 48px; }
.button-ink:hover { background: var(--gel-ink-hover); }
.button-ink:active { background: var(--gel-ink-pressed); box-shadow: 0 2px 5px rgb(26 43 74 / 12%); transform: scale(.98); }
.button-blue { color: var(--paper); background: var(--gel-blue); box-shadow: var(--shadow-blue), inset 0 1px 2px rgb(255 255 255 / 38%), inset 0 -1px 2px rgb(18 51 109 / 8%); }
.button-blue:hover { background: var(--gel-blue-hover); }
.button-blue:active { background: var(--gel-blue-pressed); box-shadow: 0 2px 5px rgb(37 112 226 / 20%); transform: scale(.98); }
.button:disabled { cursor: wait; background: var(--paper-inset); color: var(--ink-tertiary); box-shadow: none; transform: none; }
.mobile-menu { display: none; }

.page-home .site-header, .hero.shell { width: min(calc(100% - var(--page-gutter) * 2), var(--hero-content-max)); }
.hero { min-height: var(--hero-min-height); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: var(--space-6); text-align: left; padding-block: var(--space-6) var(--space-9); }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
h1 { font-size: var(--text-display); font-weight: var(--weight-bold); letter-spacing: -.035em; line-height: 1.04; }
h1 span { display: block; }
.hero h1 { font-size: var(--text-hero); }
.hero-description { max-width: 520px; font-size: var(--text-body); color: var(--ink-secondary); line-height: 1.6; margin: var(--space-6) 0 0; }
.hero-copy .button { min-height: 52px; margin-top: var(--space-6); }
.hero-art { width: min(100%, var(--hero-art-max)); justify-self: end; margin-top: 0; pointer-events: none; }
.hero-art img { width: 100%; }
.section-rule { border-top: 1px solid var(--rule); }
.company { background: linear-gradient(var(--canvas-top), var(--canvas)); }
.development { background: linear-gradient(var(--canvas), var(--canvas-bottom)); padding-bottom: var(--space-9); }
.page-section { padding-block: var(--section-space); }
.section-intro { text-align: center; max-width: 780px; margin-inline: auto; }
.section-heading { font-size: var(--text-section); font-weight: var(--weight-bold); line-height: 1.1; letter-spacing: -.035em; }
.reading-copy { max-width: 660px; margin: var(--space-5) auto 0; font-size: var(--text-editorial); color: var(--ink-secondary); line-height: 1.6; }
.project-introduction .reading-copy { max-width: 560px; }
.text-link { color: var(--blue-ink); display: inline-flex; align-items: center; gap: var(--space-3); font-weight: var(--weight-medium); min-height: 44px; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-line: underline; }
.text-link:active { color: var(--ink); }
.itinerary-preview { width: min(100%, var(--search-max)); margin: var(--space-7) auto 0; }
.search-form { display: flex; align-items: center; min-height: var(--search-height); gap: 6px; padding: 5px; background: var(--paper); border: 0; border-radius: var(--radius-pill); box-shadow: var(--shadow-search); }
.destination-field { display: flex; align-items: center; flex: 1; min-width: 0; min-height: var(--search-action-height); gap: var(--space-3); padding-inline: var(--space-4); margin-left: var(--space-2); border-radius: var(--radius-pill); cursor: text; }
.destination-icon { width: 20px; height: 20px; color: var(--ink-tertiary); }
.destination-input { flex: 1; min-width: 0; }
.destination-input input { width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: var(--text-ui); font-weight: var(--weight-medium); color: var(--ink); line-height: 1.5; }
.destination-input input::placeholder { color: var(--ink-tertiary); opacity: 1; }
.destination-field:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
.destination-input input:focus-visible { outline: none; }
.search-button { flex: 0 0 var(--search-action-width); width: var(--search-action-width); min-height: var(--search-action-height); margin-right: var(--space-1); font-size: var(--text-ui); padding: 1px 20px; }
.search-button svg { width: 18px; height: 18px; }
.preview-caption { margin-top: var(--space-4); font-size: var(--text-ui); color: var(--ink-secondary); text-align: center; }
.preview-feedback { max-width: 640px; margin-inline: auto; font-size: var(--text-body); color: var(--ink-secondary); overflow-wrap: anywhere; text-align: center; }
.preview-feedback:not(:empty) { margin-top: var(--space-5); }
.preview-enquiry { display: flex; width: fit-content; margin: var(--space-4) auto 0; font-size: var(--text-ui); }

.not-found { min-height: 80svh; display: grid; align-content: center; justify-items: center; text-align: center; gap: var(--space-5); padding-block: var(--space-8); }
.not-found h1 { font-size: var(--text-contact); max-width: 720px; }
.not-found p { font-size: var(--text-body); color: var(--ink-secondary); }

@media (max-width: 1100px) {
  :root { --page-gutter: 48px; }
}
@media (max-width: 800px) {
  :root { --page-gutter: 32px; --text-section: 2.5rem; }
  .hero { min-height: calc(100svh - 96px); grid-template-columns: 1fr; justify-items: center; gap: var(--space-5); text-align: center; padding-block: var(--space-7) var(--space-8); }
  .hero h1 { --text-hero: clamp(2.125rem, 10.6vw, 3.5rem); }
  .hero-description { margin-inline: auto; }
  .hero-art { width: min(100%, 440px); justify-self: center; }
  .page-section { padding-block: var(--space-8); }
}
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; padding-block: var(--space-4); }
  .desktop-nav { display: none; }
  .header-contact { min-height: 44px; padding: var(--space-2) var(--space-4); }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; list-style: none; background: var(--paper); border: 0; border-radius: 50%; box-shadow: var(--shadow-control); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-close-icon, .mobile-menu[open] .menu-open-icon { display: none; }
  .mobile-menu[open] .menu-close-icon { display: block; }
  .mobile-menu summary:hover { background: var(--control-pressed); }
  .mobile-menu nav { position: absolute; inset: calc(100% - 8px) 0 auto; padding: var(--space-3); border: 0; border-radius: var(--radius-small); background: var(--paper); box-shadow: var(--shadow-paper); }
  .mobile-menu nav a { min-height: 52px; display: flex; align-items: center; padding: var(--space-3) var(--space-4); border-radius: 8px; }
  .mobile-menu nav a:hover { background: var(--paper-inset); }
}
@media (max-width: 600px) {
  :root { --page-gutter: 20px; --text-display: clamp(2rem, 10vw, 2.5rem); --text-section: clamp(2rem, 9vw, 2.25rem); --text-contact: 2.5rem; --text-body: 1rem; --text-reading: 1rem; --text-editorial: 1rem; }
  html { scroll-padding-top: 24px; }
  .hero { padding-top: var(--space-6); }
  h1 { letter-spacing: -.045em; line-height: 1.08; }
  .hero-description { max-width: 380px; line-height: 1.6; }
  .hero-art { width: min(100%, 360px); }
  .reading-copy { margin-top: var(--space-5); }
  .itinerary-preview { margin-top: var(--space-6); }
  .search-form { flex-direction: column; align-items: stretch; min-height: 0; gap: var(--space-3); padding: 0; background: none; border-radius: 0; box-shadow: none; }
  .destination-field { flex: none; min-height: 54px; padding: var(--space-1) var(--space-4); margin-left: 0; background: var(--paper); box-shadow: var(--shadow-search); }
  .search-button { flex: none; width: 100%; min-height: 44px; margin-right: 0; }
}
@media (max-width: 360px) {
  .header-contact { padding-inline: var(--space-3); }
  .site-header { gap: var(--space-3); }
  .destination-field { gap: var(--space-2); }
  .destination-icon { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:active { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].has-arrived { animation: section-arrive 400ms var(--ease); }
  #investors.has-arrived { animation-delay: 40ms; }
  .hero-art img { animation: artwork-arrive 400ms var(--ease) both; }
  .text-link svg { transition: transform var(--duration) var(--ease); }
  .desktop-nav a { position: relative; }
  .desktop-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--duration) var(--ease); }
  .desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
  .mobile-menu[open] nav { transform-origin: top right; animation: menu-arrive 160ms var(--ease); }
  .preview-feedback:not(:empty) { animation: feedback-arrive 180ms var(--ease); }
  @media (hover: hover) and (pointer: fine) {
    .text-link:hover svg { transform: translate(2px, -2px); }
    .back-to-top:hover svg { transform: translateY(-2px); }
  }
}
@keyframes artwork-arrive { from { opacity: .6; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes menu-arrive { from { opacity: .5; transform: translateY(-4px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes feedback-arrive { from { opacity: .3; } to { opacity: 1; } }
@keyframes section-arrive { from { opacity: .65; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-contrast: more) { :root { --rule: #7a8494; } }
@media (forced-colors: active) {
  .button, .search-form, .destination-field, .mobile-menu summary, .mobile-menu nav, .connection-card { border: 1px solid ButtonText; }
  .button-ink, .button-blue { background: ButtonFace; color: ButtonText; }
}
