/* HIKO Direction A — Intelligent Energy. Reference: brand deck pages 4–6 and 11. */
@font-face { font-family: Satoshi; src: url('/assets/fonts/satoshi-variable.woff2') format('woff2'); font-style: normal; font-weight: 300 900; font-display: swap; }
@font-face { font-family: Inter; src: url('/assets/fonts/inter-variable.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root {
  --charcoal: #202523; --jade: #245747; --light-jade: #8cc3ae;
  --sage: #63736b; --taupe: #b5a58f; --stone: #e8e5dd;
  --ink: var(--charcoal); --cream: var(--stone); --teal: #f4f6f3;
  --muted: #526159; --rule: #d5dad5;
}
body { font-family: Inter, Arial, sans-serif; color: var(--charcoal); font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: Satoshi, Arial, sans-serif; font-weight: 500; letter-spacing: -.035em; }
h2 { line-height: 1.13; }
h3 { letter-spacing: -.02em; }
.eyebrow { color: var(--jade); font-family: Inter, Arial, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .16em; }
a:focus-visible, button:focus-visible { outline-color: var(--jade); }
.site-header { min-height: 104px; padding: 20px 5vw; background: #fff; }
.brand, .home-header .brand { width: 150px; height: auto; max-width: none; overflow: visible; }
.brand > img { position: static; display: block; width: 100%; height: auto; max-width: 100%; transform: none; object-fit: contain; }
.desktop-nav, .header-enquiry { font-family: Inter, Arial, sans-serif; font-size: 13px; font-weight: 400; }
.home-header .desktop-nav a, .home-header .header-enquiry { opacity: 1; }
.desktop-nav a:hover, .header-enquiry:hover { color: var(--jade); }
.mobile-menu { background: var(--charcoal); }
.mobile-menu a { color: #fff; }
.menu-toggle { font-size: 14px; }
/* Full-width, unshaded photography, with the Direction A typography. */
.home-page .project { display: flex; padding: 0 5vw; min-height: 640px; height: auto; background: var(--charcoal) var(--photo) center / cover no-repeat; color: #fff; }
.home-page .project::before, .home-page .project::after { display: none; }
.home-page .project-inner, .home-header + main .project-inner { width: 100%; max-width: 1440px; min-height: 640px; margin: 0 auto; padding: 100px 0 64px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 28px; }
.home-page .project-title h1, .home-page .project-title h2 { font-family: Satoshi, Arial, sans-serif; font-weight: 400; font-size: clamp(42px, 4.7vw, 72px); letter-spacing: -.045em; line-height: 1.08; margin-top: 0; }
.home-page .project .eyebrow { color: #fff; margin-bottom: 24px; }
.home-page .project-description { font-size: 16px; line-height: 1.7; max-width: 500px; }
.home-page .project-description p { color: #fff; margin-bottom: 22px; }
.home-page .project .more { color: #fff; background: transparent; text-shadow: none; box-shadow: none; font-size: 14px; font-weight: 500; }
.home-page .project .more:focus-visible { outline-color: #fff; }
.home-page .project[data-image='warm-hallway.png'] { background-position: 66% center; }
.intro { background: #fff; }
.home-scope { gap: 16px 36px; }
.home-page .home-scope a { color: var(--jade); }
.overview-panorama { background: var(--stone); }
.overview-copy .text-link { color: var(--jade); }
.scenes { background: #f4f6f3; }
.scene-tabs button { font-family: Satoshi, Arial, sans-serif; }
.home-page .scene-tabs button[aria-selected='true'] { color: var(--jade); }
.scene-panel p, .process-grid p, .card-copy p, .lede, .feature-columns p, .planning-list, .faq-list p { color: var(--muted); }
.about { background: var(--stone); }
.contact { background: var(--jade); color: #fff; }
.contact .eyebrow { color: var(--light-jade); }
.contact h2 { font-weight: 400; }
.button { background: var(--jade); border-color: var(--jade); border-radius: 2px; font-family: Inter, Arial, sans-serif; font-weight: 500; }
.button:hover { background: var(--charcoal); border-color: var(--charcoal); }
.button-light { background: #fff; color: var(--jade); border-color: #fff; }
.button-light:hover { color: var(--charcoal); background: var(--stone); border-color: var(--stone); }
.button-outline { background: transparent; color: var(--jade); }
.button-outline:hover { background: var(--stone); color: var(--jade); }
.page-intro { background: var(--stone); }
.solution-story, .faq-section, .planning-section, .planning-brief, .one-touch-scene { background: #f4f6f3; }
.review-note { background: #f4f6f3; border-color: var(--taupe); color: var(--muted); }
.brand-story { position: static; width: 100%; max-width: 480px; aspect-ratio: auto; padding: 52px; background: var(--stone); overflow: visible; }
.brand-story > img { position: static; width: 100%; height: auto; max-width: 100%; transform: none; border-radius: 0; }
.site-footer { background: var(--charcoal); color: #fff; padding-top: 64px; }
.site-footer .brand { width: 160px; }
.site-footer p { color: #d9e1db; font-family: Satoshi, Arial, sans-serif; font-size: 17px; line-height: 1.6; }
.site-footer nav { color: #d9e1db; }
.site-footer nav a:hover { color: var(--light-jade); }
.footer-bottom { border-color: #424e47; color: #aebeb4; font-size: 12px; }
@media (min-width: 1600px) { .home-page .project, .home-page .project-inner { min-height: 700px; } }
.search-toggle, .search-close { flex-shrink: 0; width: 44px; height: 44px; border-radius: 0; }
.search-toggle:hover, .search-close:hover { background: var(--stone); }
.site-search { background: #fff; border: 1px solid var(--stone); }
.site-search::backdrop { background: #20252399; }
.site-search input { border-color: var(--sage); color: var(--ink); background: #fff; }
.site-search input:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; }
.search-heading h2 { font-size: 30px; }
.search-results a { border-color: var(--stone); }
.search-results strong { display: block; color: var(--jade); font-size: 17px; font-weight: 500; }
.search-results span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 767px) {
  .site-header { padding: 18px 24px; min-height: 88px; gap: 16px; }
  .brand, .home-header .brand { width: 120px; height: auto; max-width: 38vw; }
  .header-actions { gap: 8px; }
  .menu-toggle { padding: 8px 0 8px 8px; }
  /* Explicit viewport-based height avoids Safari flex/aspect-ratio shrinkage on resize. */
  .home-page .project { position: relative; flex: 0 0 100%; width: 100%; min-width: 0; height: calc(100vw * 1672 / 941); min-height: 0; padding: 0; aspect-ratio: auto; background-image: var(--photo-mobile); background-size: 100% auto; background-position: center top; }
  .home-page .project-inner, .home-header + main .project-inner { position: absolute; inset: 0; width: 100%; min-height: 0; padding: 24px; gap: 16px; justify-content: flex-end; }
  .home-page .project-title h1, .home-page .project-title h2 { font-size: clamp(28px, 8vw, 42px); line-height: 1.1; }
  .home-page .project .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .home-page .project-description { max-width: 100%; font-size: 14px; line-height: 1.5; }
  .home-page .project-description p { margin-bottom: 8px; }
  .brand-story { padding: 40px; }
  .site-footer .brand { width: 145px; }
  .search-heading { gap: 8px; }
  .search-heading h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Keep the hero copy together in a single left-aligned group. */
.home-page .project-title { max-width: 680px; }
.home-page .project-title, .home-page .project-description { align-self: flex-start; text-align: left; }
.home-page .project-description { font-weight: 400; }
.home-page .project-title h1, .home-page .project-title h2 { font-weight: 400; }
.home-page .project, .home-page .project-title, .home-page .project-description { text-shadow: none; box-shadow: none; }

/* Phase 2: shared navigation, with readable labels and the existing brand palette. */
.site-header .desktop-nav { font-size: 14px; gap: 24px; white-space: nowrap; }
.site-header .nav-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 2px; background: var(--jade); color: #fff; }
.site-header .nav-contact:hover { background: var(--charcoal); color: #fff; }
.site-header .mobile-menu { max-height: calc(100dvh - 104px); overflow-y: auto; }
.site-header .mobile-menu a { min-height: 48px; font-size: 16px; }
.site-header .mobile-menu .nav-contact { display: flex; margin-top: 12px; }
.site-header .mobile-menu a:focus-visible { outline-color: var(--light-jade); outline-offset: 2px; }
@media (max-width: 1280px) {
  .site-header .desktop-nav { display: none; }
  .site-header .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
}
@media (max-width: 767px) {
  .site-header .mobile-menu { max-height: calc(100dvh - 88px); }
}
