@font-face { font-family: "Inter"; src: url("/fonts/inter-4.1-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0e0e11;
  --text: #f5f5f7;
  --muted: #b7bac3;
  --red: #ff172b;
  --line: #2a2b31;
  --width: 1280px;
  --page-intro-top: 100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(var(--width), calc(100% - 112px)); margin-inline: auto; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: #fff; color: #000000; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
#main:focus { outline: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 40px; border-bottom: 1px solid var(--line); }
.brand { display: block; flex: 0 0 auto; width: 185px; }
.primary-nav { display: flex; align-items: center; gap: clamp(22px, 2.5vw, 38px); }
.primary-nav a { position: relative; padding: 16px 0; font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .18s ease; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.primary-nav a[aria-current="page"]::after, .primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav a:hover { color: #fff; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 750; line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(48px, 5.25vw, 78px); margin-bottom: 28px; }
h2 { font-size: clamp(34px, 3.4vw, 48px); margin-bottom: 32px; }
h3 { font-size: 28px; letter-spacing: -.025em; }
.dot { color: var(--red); }
.lead { color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; max-width: 570px; margin-bottom: 34px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 13px 24px; border: 1px solid transparent; border-radius: 3px; background: #d90920; color: #fff; font-size: 15px; font-weight: 650; line-height: 1.5; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button span { font-size: 20px; line-height: 1; }
.button:hover { background: #b30017; transform: translateY(-2px); }

.art-hero { position: relative; background-image: linear-gradient(90deg, rgba(0,0,0,.2), transparent 70%), url('/images/arrenix-hero-wide.webp'); background-size: cover; background-position: center 56%; isolation: isolate; }
.art-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--bg), transparent 17%, transparent 85%, #000); pointer-events: none; }
.home-hero .hero-inner { min-height: 690px; display: flex; align-items: flex-start; padding-block: var(--page-intro-top) 110px; }
.hero-copy { max-width: 700px; }
.hero-copy .lead { max-width: 500px; }

.coast-art { position: relative; isolation: isolate; background: var(--bg) url('/images/arrenix-coast-wide.webp') center 57% / cover no-repeat; }
.coast-art::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.12) 55%, transparent 85%), linear-gradient(0deg, var(--bg), transparent 15%, transparent 85%, var(--bg)); }

.page-heading { padding-block: var(--page-intro-top) 100px; }
.services-heading { background-position: center 46%; }

.services-heading .lead { margin-bottom: 0; }

.scenic-page { min-height: calc(100svh - 224px); }
.scenic-inner { min-height: inherit; display: flex; align-items: flex-start; padding-block: var(--page-intro-top) 150px; }
.scenic-copy { max-width: 790px; }

.scenic-page .lead { max-width: 620px; }

.founders { margin: -30px auto 0; max-width: 1100px; }
.founders img { width: 100%; mask-image: linear-gradient(0deg, transparent, #000 13%, #000 87%, transparent); }

.document-page { max-width: 850px; padding-block: 80px 110px; min-height: calc(100svh - 224px); }
.document-page h1 { margin-bottom: 40px; }
.document-page .lead { max-width: none; }
.document-page h2 { font-size: 26px; margin: 40px 0 14px; }
.document-page p { color: var(--muted); }
.document-page ul { color: var(--muted); padding-left: 22px; margin: 0 0 16px; }
.document-page li { margin-bottom: 6px; }
.document-page li::marker { color: var(--red); }
.document-page p a, .document-page li a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }

.sitemap-links { padding: 0; list-style: none; }
.sitemap-links a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sitemap-links a:hover { color: #ff6674; }
@media (min-width: 1700px) {
  .art-hero, .coast-art { background-size: 1700px auto; background-repeat: no-repeat; }
}
/* Keep the complete sculpture inside the desktop hero, including its tip. */
@media (min-width: 821px) {
  .home-hero {
    background-image: linear-gradient(90deg, rgba(0,0,0,.2), transparent 70%), url('/images/arrenix-hero-wide.webp');
    background-size: auto 850px;
    background-position: center;
    background-repeat: no-repeat;
  }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .brand { width: 170px; }
  .header-inner { gap: 24px; }
  .primary-nav { gap: 22px; }
  .primary-nav a { font-size: 12px; }
  .home-hero .hero-inner { min-height: 650px; }
  .hero-copy { max-width: 580px; }
  .hero-copy .lead { max-width: 460px; }
  .art-hero { background-position: 57% center; }
  .home-hero { background-position: center; }
  .art-hero::after { background: linear-gradient(90deg, rgba(0,0,0,.4), transparent 80%), linear-gradient(0deg, var(--bg), transparent 18%); }
  
}
@media (max-width: 820px) {
  h1 { font-size: clamp(44px, 7.5vw, 62px); }
  :root { --page-intro-top: 65px; }
  .header-inner { min-height: 68px; gap: 16px; }
  .brand { width: 160px; }
  .primary-nav { gap: 24px; }

  .primary-nav a { font-size: 15px; padding: 14px 0; }
  .home-hero .hero-inner { min-height: 700px; padding-block: var(--page-intro-top) 240px; align-items: flex-start; }

  .art-hero { background-size: auto 630px; background-position: 65% bottom; background-repeat: no-repeat; }
  .art-hero::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(0,0,0,.85) 25%, transparent 65%, var(--bg)); }
  .hero-copy .lead { max-width: 480px; }

  .services-heading { padding-block: var(--page-intro-top) 80px; background-size: auto 520px; background-position: 60% center; }
  .services-heading::after { background: linear-gradient(90deg, rgba(0,0,0,.8),rgba(0,0,0,.25)), linear-gradient(0deg,var(--bg),transparent 35%); }
  .scenic-page { min-height: calc(100svh - 200px); }
  .scenic-inner { padding-block: var(--page-intro-top) 220px; align-items: flex-start; }
  .scenic-page::before { background: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.55) 48%, transparent 80%, var(--bg)); }
  .scenic-page { background-position: 65% bottom; }
  
  .founders { margin-top: 0; }
}
@media (max-width: 560px) {
  :root { --page-intro-top: 48px; }
  .wrap { width: calc(100% - 40px); }
  body { font-size: 16px; }
  .header-inner { min-height: 62px; }
  .brand { width: 150px; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 14px; }
  h1 { font-size: clamp(37px, 9vw, 50px); margin-bottom: 22px; }
  h2 { font-size: 34px; }
  .home-hero .hero-inner { min-height: 745px; padding-block: var(--page-intro-top) 310px; }

  .hero-copy .lead { font-size: 17px; line-height: 1.65; margin-bottom: 27px; }
  .home-hero { background-size: auto 520px; background-position: 72% bottom; }
  .home-hero::after { background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 30%, rgba(0,0,0,.75) 46%, transparent 68%, var(--bg) 99%); }
  .button-row { gap: 12px; }
  .button { font-size: 13px; padding-inline: 16px; gap: 15px; min-height: 50px; }

  .services-heading { padding-block: var(--page-intro-top) 80px; background-size: auto 450px; }

  .services-heading .lead { font-size: 18px; }

  .scenic-page { background-size: auto 710px; background-position: 74% bottom; }
  .scenic-inner { padding-block: var(--page-intro-top) 280px; min-height: 760px; }

  .scenic-page .lead { font-size: 18px; }

  .founders { margin-inline: -15px; }

  .document-page { padding-block: 50px 70px; }
}
@media (max-width: 360px) {
  .brand { width: 150px; }

}
/* Shared artwork frames keep paired pages visually aligned, independent of copy height. */
.home-hero, .services-heading {
  --art-height: 690px;
  min-height: var(--art-height);
  background-size: auto 850px;
  background-position: center -80px;
  background-repeat: no-repeat;
}
.home-hero::after, .services-heading::after {
  background: linear-gradient(0deg, var(--bg), transparent 17%, transparent 85%, #000) top / 100% var(--art-height) no-repeat;
}
.scenic-page {
  --art-height: max(760px, calc(100svh - 224px));
  min-height: var(--art-height);
  background-size: auto var(--art-height);
  background-position: center top;
}
.scenic-page::before {
  background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.12) 55%, transparent 85%), linear-gradient(0deg, var(--bg), transparent 15%, transparent 85%, var(--bg));
  background-size: 100% var(--art-height);
  background-position: top;
  background-repeat: no-repeat;
}
@media (max-width: 820px) {
  .home-hero, .services-heading {
    --art-height: 700px;
    background-size: auto 630px;
    background-position: 65% 70px;
  }
  .home-hero::after, .services-heading::after {
    background-image: linear-gradient(180deg, var(--bg), rgba(0,0,0,.85) 25%, transparent 65%, var(--bg));
  }
  .scenic-page {
    --art-height: 900px;
    background-position: 65% top;
  }
  .scenic-page::before {
    background-image: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.55) 48%, transparent 80%, var(--bg));
  }
}
@media (max-width: 560px) {
  .home-hero, .services-heading {
    --art-height: 745px;
    background-size: auto 520px;
    background-position: 72% 225px;
  }
  .home-hero::after, .services-heading::after {
    background-image: linear-gradient(180deg, var(--bg) 0%, var(--bg) 30%, rgba(0,0,0,.75) 46%, transparent 68%, var(--bg) 99%);
  }
  .scenic-page {
    background-size: auto 710px;
    background-position: 74% 190px;
  }
}
/* Opaque black at the actual artwork boundaries, not just the section edges.
   Both gradient layers use the image's exact dimensions and position. */
.art-hero, .coast-art {
  --edge-fade-x: linear-gradient(90deg, #000 0%, #000 1%, transparent 14%, transparent 86%, #000 99%, #000 100%);
  --edge-fade-y: linear-gradient(180deg, #000 0%, #000 1%, transparent 14%, transparent 84%, #000 99%, #000 100%);
  background-color: #000;
}
.home-hero, .services-heading {
  --image-height: 850px;
  background-image: var(--edge-fade-x), var(--edge-fade-y), url('/images/arrenix-hero-wide.webp');
  background-size: calc(var(--image-height) * 1817 / 866) var(--image-height);
}
.coast-art {
  --image-height: 810px;
  background-image: var(--edge-fade-x), var(--edge-fade-y), url('/images/arrenix-coast-wide.webp');
  background-size: calc(var(--image-height) * 1817 / 866) var(--image-height);
}
.scenic-page { --image-height: var(--art-height); }
.founders img {
  mask-image: linear-gradient(90deg, transparent 1%, #000 14%, #000 86%, transparent 99%), linear-gradient(180deg, transparent 1%, #000 14%, #000 84%, transparent 99%);
  mask-composite: intersect;
}
@media (max-width: 820px) {
  .home-hero, .services-heading { --image-height: 630px; }
}
@media (max-width: 560px) {
  .home-hero, .services-heading { --image-height: 520px; }
  .coast-art { --image-height: 710px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Build contract footer: "Arrenix" on the left, links centred; stacked and centred on phones. */
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px 32px; min-height: 88px; padding-block: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 12px; transition: color .18s ease; }
.site-footer a:hover { color: #fff; }
.site-footer small { font-size: 15px; }
@media (max-width: 560px) {
  .site-footer { grid-template-columns: 1fr; justify-items: center; padding-block: 12px 24px; }
  .site-footer nav { gap: 0 4px; }
  .site-footer nav a { padding-inline: 8px; }
  .site-footer small { order: 1; }
}
/* FAQ: founders image sits below the heading, not pulled up into it. */
.faq-page .document-page { min-height: 0; }
.faq-page .founders { margin: 0 auto; }
/* Privacy and Terms: pull the policy text up under the coast hero. */
.page-heading.coast-art { padding-bottom: 24px; }
.page-heading.coast-art .lead { margin-bottom: 0; }
.page-heading.coast-art + .wrap .document-page { padding-top: 24px; }
