@font-face {
  font-family:'Instrument Sans';
  font-style:normal;
  font-weight:400 600;
  font-display:swap;
  src:url('../assets/fonts/instrument-sans-latin.woff2') format('woff2')
}

:root {
  --paper:#F3F0E8;
  --ink:#111111;
  --blue:#244EFF;
  --coral:#FF6655;
  --deep:#0C1630;
  --rule:rgba(17,17,17,.16);
  --gutter:clamp(24px,5vw,72px);
  --label-font:'Instrument Sans',sans-serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:auto
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Instrument Sans',sans-serif
}

a {
  color:inherit;
  text-decoration:none
}

button,select {
  font:inherit
}

button {
  cursor:pointer
}

a:hover {
  color:var(--blue)
}

button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:6px
}

::selection {
  background:var(--blue);
  color:var(--paper)
}

.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0
}

h1,h2,h3,p {
  margin:0
}

h1,h2,h3 {
  font-weight:500
}

p {
  line-height:1.65
}

h1 {
  font-size:clamp(40px,4.5vw,64px);
  line-height:1.03;
  letter-spacing:-.042em
}

h2 {
  font-size:clamp(29px,3vw,40px);
  line-height:1.12;
  letter-spacing:-.035em
}

h3 {
  font-size:25px;
  line-height:1.22;
  letter-spacing:-.025em
}

.mono,.eyebrow,.section-label,.text-link,.figure-caption,.reference {
  font-family:var(--label-font);
  font-weight:400
}

.eyebrow {
  font-size:10px;
  line-height:1.7;
  letter-spacing:.17em;
  text-transform:uppercase
}

.blue {
  color:var(--blue)
}

.small-note {
  font-size:12px;
  color:#64635f
}

.coral-square {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--coral);
  margin-right:11px
}

.intro {
  font-size:17px;
  line-height:1.6;
  max-width:510px;
  color:#4e4d49
}

.lead {
  font-size:20px;
  line-height:1.4;
  letter-spacing:-.015em
}

.text-link {
  display:inline-block;
  font-size:11px;
  letter-spacing:.08em;
  line-height:1.8;
  text-transform:uppercase;
  border-bottom:1px solid currentColor;
  padding-bottom:4px
}

/* The hero's call to action carries the same outward arrow as the other contact links. */
.hero .link-row .text-link[href^="mailto:"]::after {
  content:" \2197"
}

.link-row {
  display:flex;
  gap:30px;
  flex-wrap:wrap
}

.section {
  max-width:1420px;
  margin:auto;
  padding:72px var(--gutter);
  border-top:1px solid var(--rule)
}

.section-label {
  display:flex;
  align-items:center;
  gap:18px;
  font-size:10px;
  letter-spacing:.14em;
  color:#66645e;
  line-height:1.6
}

.section-label i {
  height:1px;
  background:var(--rule);
  flex:1
}

.draft-note {
  font-size:10px;
  color:#6c6a64;
  border:1px solid #c9c7c0;
  padding:3px 6px
}

.editorial-grid {
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(36px,5vw,72px);
  margin-top:32px
}

.section>.editorial-grid:first-child {
  margin-top:0
}

.editorial-grid>div>p {
  max-width:60ch
}

.editorial-grid h2 {
  max-width:20ch;
  text-wrap:balance
}

.editorial-grid p+p {
  margin-top:18px
}

.editorial-grid .text-link {
  margin-top:34px
}

.figure-caption {
  font-size:10px;
  line-height:1.8;
  letter-spacing:.14em;
  color:#72716b
}

.skip-link {
  position:absolute;
  top:-80px;
  left:24px;
  padding:14px;
  background:var(--paper);
  z-index:100
}

.skip-link:focus {
  top:8px
}

.site-header {
  position:absolute;
  top:0;
  left:0;
  right:0;
  padding:23px var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  z-index:10
}

.wordmark {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:21px;
  font-weight:600;
  letter-spacing:-.035em
}

.wordmark img {
  object-fit:contain;
  width:auto;
  height:34px
}

.site-header nav {
  display:flex;
  gap:clamp(20px,3vw,40px);
  font-family:var(--label-font);
  font-weight:400;
  font-size:11px;
  letter-spacing:.08em
}

.site-header nav a:last-child {
  color:var(--blue)
}

.site-header nav a[aria-current=page] {
  border-bottom:1px solid var(--blue);
  padding-bottom:4px
}

.hero {
  position:relative;
  min-height:760px;
  height:100svh;
  overflow:hidden;
  background-image:linear-gradient(to right,rgba(17,17,17,.035) 1px,transparent 1px),linear-gradient(to bottom,rgba(17,17,17,.035) 1px,transparent 1px);
  background-size:130px 130px
}

.hero canvas {
  position:absolute;
  inset:0;
  pointer-events:none;
  width:100%;
  height:100%
}

.hero-copy {
  position:absolute;
  left:var(--gutter);
  bottom:80px;
  max-width:680px;
  padding-right:24px
}

.hero h1 {
  margin:20px 0 26px;
  max-width:660px
}

.hero .link-row {
  margin-top:32px
}

.hero .figure-caption {
  position:absolute;
  right:var(--gutter);
  bottom:32px;
  text-align:right
}

.hero-legend {
  position:absolute;
  top:122px;
  right:var(--gutter);
  font-size:10px;
  letter-spacing:.13em;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end
}

.hero-legend span {
  display:flex;
  align-items:center;
  gap:7px
}

.hero-legend i {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--blue)
}

.hero-legend span:nth-child(2) i {
  background:var(--coral)
}

.hero-legend small {
  font-size:10px;
  color:#73716c;
  margin-top:3px
}

.work-example {
  margin-top:35px;
  padding-top:25px;
  border-top:1px solid var(--rule)
}

.work-example h3 {
  margin-top:13px;
  font-size:27px
}

.work-example p+p {
  margin-top:12px
}

.work-example h3+p {
  margin-top:12px
}

.building-section {
  height:600svh;
  position:relative;
  border-top:1px solid var(--rule)
}

.building-sticky {
  height:100svh;
  min-height:0;
  position:sticky;
  top:0;
  overflow:hidden;
  padding:40px var(--gutter) 24px;
  background:var(--paper)
}

.building-heading {
  position:relative;
  z-index:1;
  transform:translateZ(0)
}

.building-heading h2 {
  font-size:32px;
  margin-top:14px
}

.building-instruction {
  font-size:10px;
  letter-spacing:.16em;
  position:absolute;
  right:0;
  top:10px;
  color:#65645e
}

.building-instruction span {
  margin-left:12px;
  color:var(--blue)
}

.building-layout {
  max-width:1400px;
  height:calc(100% - 102px);
  margin:auto;
  display:grid;
  grid-template-columns:43% 57%;
  align-items:center
}

.building-copy {
  position:relative;
  padding:0 25px 0 0;
  z-index:1;
  transform:translateZ(0)
}

.depth-panels {
  position:relative;
  min-height:180px
}

.depth-panel {
  position:absolute;
  top:0;
  left:0;
  right:0;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px)
}

.depth-panel:first-child {
  opacity:1;
  visibility:visible
}

.depth-panel h3 {
  font-size:clamp(25px,2.1vw,31px);
  line-height:1.22;
  letter-spacing:-.027em;
  text-wrap:balance;
  max-width:470px;
  margin-top:20px
}

.reference {
  font-size:10px;
  letter-spacing:.085em;
  line-height:1.8;
  margin-top:22px;
  color:#72716b
}

.depth-choices {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:28px;
  max-width:410px
}

.depth-choice {
  border:0;
  border-bottom:1px solid transparent;
  background:none;
  padding:5px 6px 9px;
  color:#8b8a84;
  flex:1;
  min-width:0;
  opacity:.48
}

.depth-choice svg {
  display:block;
  width:100%;
  height:44px;
  margin-bottom:13px
}

.depth-choice span {
  font-family:var(--label-font);
  font-size:10px;
  letter-spacing:.18em
}

.depth-choice[aria-current=step] {
  opacity:1;
  color:var(--blue);
  border-bottom-color:var(--blue)
}

.depth-choice.visited {
  opacity:.8
}

.depth-choice:hover {
  opacity:1
}

.building-art {
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative
}

.company-building {
  display:block;
  width:100%;
  height:auto;
  max-height:100%;
  will-change:transform
}

.company-building-layer {
  position:absolute;
  inset:0;
  margin:auto;
  pointer-events:none;
  will-change:transform,opacity
}

.building-skip {
  position:absolute;
  bottom:22px;
  left:var(--gutter);
  font-size:10px;
  color:#6f6e68;
  transform:translateZ(0)
}

.reef-canvas {
  height:560px;
  position:relative;
  margin-top:10px;
  overflow:hidden
}

.site-footer {
  background:#080E20;
  box-shadow:0 2px 0 #080E20;
  color:var(--paper);
  padding:56px var(--gutter) 25px
}

.footer-main {
  max-width:1280px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:50px
}

.footer-main h2 {
  font-size:clamp(32px,3.1vw,44px)
}

.contact-email {
  font-size:clamp(23px,2.4vw,34px);
  color:var(--coral);
  display:inline-block;
  margin-top:20px;
  letter-spacing:-.025em;
  border-bottom:1px solid #ff665555;
  padding-bottom:7px
}

.contact-email span {
  margin-left:35px
}

.site-footer a:hover {
  color:var(--coral)
}

.footer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:15px;
  flex-wrap:wrap;
  font-size:10px;
  letter-spacing:.1em;
  color:#858895;
  border-top:1px solid #f3f0e82a;
  padding-top:20px;
  max-width:1280px;
  margin:44px auto 0
}

.footer-place {
  text-align:right;
  line-height:1.9
}

@media(min-width:1600px) {
  .hero-copy {
    max-width:760px
  }
  .hero h1 {
    font-size:64px;
    max-width:760px
  }
  .building-layout {
    grid-template-columns:40% 60%
  }
}

@media(max-width:1000px) {
  .hero-copy {
    max-width:58%;
    bottom:70px
  }
  .hero h1 {
    font-size:56px
  }
  .hero .intro {
    font-size:16px
  }
  .hero-legend {
    top:110px
  }
  .hero .figure-caption {
    font-size:9px
  }
  .building-layout {
    grid-template-columns:44% 56%
  }
  .depth-choices {
    gap:5px
  }
  .depth-panel h3 {
    font-size:28px
  }
  .depth-panels {
    min-height:190px
  }
  .building-heading .eyebrow {
    font-size:9px
  }
  .building-heading h2 {
    font-size:28px
  }
  .building-instruction {
    font-size:9px
  }
}

@media(max-width:759px) {
  h1 {
    font-size:40px
  }
  .site-header {
    padding-top:20px;
    gap:14px
  }
  .wordmark {
    font-size:20px;
    gap:8px
  }
  .wordmark img {
    height:29px
  }
  .site-header nav {
    font-size:9px;
    letter-spacing:.07em;
    gap:17px
  }
  .site-header nav a:nth-child(2) {
    display:none
  }
  .hero {
    height:900px;
    min-height:100svh
  }
  .hero-copy {
    left:var(--gutter);
    bottom:85px;
    max-width:620px;
    padding-right:var(--gutter)
  }
  .hero h1 {
    font-size:clamp(44px,8vw,62px);
    max-width:570px;
    margin-top:20px
  }
  .hero .intro {
    font-size:16px;
    max-width:480px
  }
  .hero-legend {
    top:90px;
    font-size:9px
  }
  .hero-legend small {
    font-size:9px
  }
  .hero .figure-caption {
    bottom:25px;
    left:var(--gutter);
    right:auto;
    text-align:left;
    font-size:9px
  }
  .hero .figure-caption br {
    display:none
  }
  .hero .link-row {
    gap:20px
  }
  .text-link {
    font-size:9px
  }
  .section {
    padding-top:60px;
    padding-bottom:60px
  }
  .section-label {
    font-size:9px;
    gap:10px;
    letter-spacing:.1em
  }
  .draft-note {
    font-size:9px;
    white-space:nowrap
  }
  .editorial-grid {
    grid-template-columns:1fr;
    gap:32px;
    margin-top:32px
  }
  .lead {
    font-size:19px
  }
  .work-example {
    margin-top:28px
  }
  .building-sticky {
    min-height:0;
    padding-top:26px
  }
  .building-heading .eyebrow {
    font-size:9px;
    letter-spacing:.1em;
    max-width:260px
  }
  .building-heading h2 {
    font-size:25px;
    margin-top:9px
  }
  .building-instruction {
    position:static;
    font-size:9px;
    margin-top:12px
  }
  .building-layout {
    display:flex;
    flex-direction:column;
    height:calc(100% - 98px);
    gap:0;
    align-items:stretch
  }
  .building-copy {
    padding:25px 0 0;
    flex:none;
    display:flex;
    flex-direction:column
  }
  .depth-panels {
    min-height:120px;
    order:1
  }
  .depth-panel .eyebrow {
    font-size:9px
  }
  .depth-panel h3 {
    font-size:24px;
    line-height:1.2;
    max-width:490px;
    margin-top:12px
  }
  .reference {
    font-size:9px;
    margin-top:13px
  }
  .depth-choices {
    gap:8px;
    margin:0 0 18px;
    max-width:300px;
    order:0
  }
  .depth-choice {
    padding:2px 4px 5px;
    display:flex;
    align-items:center;
    gap:4px
  }
  .depth-choice svg {
    height:28px;
    width:30px;
    margin:0
  }
  .depth-choice span {
    font-size:9px
  }
  .building-art {
    flex:1;
    min-height:0;
    position:relative
  }
  .company-building {
    height:100%;
    width:auto;
    max-width:100%;
    max-height:420px;
    margin:auto
  }
  .building-skip {
    font-size:9px;
    bottom:13px
  }
  .reef-canvas {
    height:440px
  }
  .reef-canvas>div {
    font-size:9px!important
  }
  .reef-canvas>div[style*="bottom:"] {
    display:none
  }
  .footer-main {
    display:block
  }
  .site-footer {
    padding-top:48px
  }
  .contact-email span {
    margin-left:18px
  }
  .footer-bottom {
    margin-top:36px;
    font-size:9px;
    line-height:1.7;
    gap:12px
  }
}

@media(max-width:380px) {
  .hero {
    height:910px
  }
  .hero h1 {
    font-size:43px
  }
  .site-header nav {
    gap:12px;
    font-size:9px
  }
  .hero-copy .eyebrow {
    font-size:9px
  }
  .hero .link-row {
    gap:18px;
    flex-direction:column;
    align-items:start
  }
  .building-sticky {
    padding-left:20px;
    padding-right:20px
  }
  .depth-panel h3 {
    font-size:22px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
  .building-section {
    height:auto
  }
  .building-sticky {
    position:relative;
    height:auto;
    min-height:0;
    overflow:visible;
    padding-bottom:65px
  }
  .building-layout {
    min-height:550px
  }
  .building-art {
    min-height:420px
  }
  .depth-panel {
    transform:none!important
  }
  .building-instruction {
    font-size:0
  }
  .building-instruction::before {
    content:'SELECT A LAYER BELOW';
    font-size:9px
  }
  .building-instruction span {
    display:none
  }
  .building-skip {
    bottom:20px
  }
}

@media(prefers-reduced-motion:reduce) and (max-width:759px) {
  .building-art {
    height:360px;
    min-height:360px
  }
  .building-copy {
    padding-top:25px
  }
  .depth-panels {
    min-height:150px
  }
  .building-layout {
    min-height:0
  }
}

.views-section {
  background:#15203a;
  color:var(--paper)
}

.views-inner {
  border-top:0;
  padding-bottom:65px
}

.views-inner .section-label {
  color:#a3a9b7
}

.views-inner .section-label i {
  background:#f3f0e828
}

.views-inner .editorial-grid p+p {
  color:#b7bac3
}

.article-list {
  margin-top:48px;
  border-top:1px solid #f3f0e82a
}

.article-pending {
  font-size:10px;
  letter-spacing:.16em;
  padding-top:24px;
  color:#9199ac
}

.article-row {
  display:block;
  border-bottom:1px solid #f3f0e82a;
  padding:30px 0
}

.article-row h3 {
  font-size:27px;
  margin-top:9px
}

.article-row p:last-child {
  font-size:15px;
  margin-top:15px;
  color:#b7bac3
}

.article-row a:hover {
  color:#8FA5FF
}

@media(max-width:759px) {
  .site-header nav a[href="./#views"] {
    display:none
  }
  .views-inner {
    padding-bottom:50px
  }
}

/* Keep the scroll-controlled scene readable on short landscape screens. */
@media (max-height: 600px) and (min-width: 760px) {
  .building-sticky { padding-top: 20px; padding-bottom: 16px; }
  .building-heading h2 { font-size: 23px; margin-top: 8px; }
  .building-heading .eyebrow { font-size:9px; }
  .building-layout { height: calc(100% - 66px); }
  .depth-panels { min-height: 138px; }
  .depth-panel .eyebrow { font-size:9px; }
  .depth-panel h3 { font-size: 22px; margin-top: 11px; }
  .reference { font-size:9px; margin-top: 12px; }
  .depth-choices { margin-top: 8px; }
  .depth-choice { padding: 0 4px 5px; }
  .depth-choice svg { height: 24px; margin-bottom: 5px; }
  .depth-choice span { font-size:9px; }
  .building-skip { bottom: 9px; font-size:9px; }
}
/* SVG intrinsic dimensions must not enlarge the sticky grid row. */
.building-layout { grid-template-rows: minmax(0, 1fr); }
.building-art { min-height: 0; }
.building-art .company-building { width: 100%; height: 100%; min-height: 0; }

/* Static artwork and complete copy remain available until enhancement succeeds. */
canvas[data-art] { visibility:hidden; }
.art-ready > canvas[data-art] { visibility:visible; }
.reef-section .reef-canvas.art-ready > .reef-still,
.approach-frame.art-ready > .approach-fallback { visibility:hidden; }
.hero.art-failed {
  background-image:url('../assets/artwork/wave.svg');
  background-size:cover;
  background-position:center;
}
.home-page .building-section:not(.building-enhanced) { height:auto; }
.building-section:not(.building-enhanced) .building-sticky {
  position:relative; height:auto; min-height:0; overflow:visible; padding-bottom:65px;
}
.building-section:not(.building-enhanced) .building-layout { height:auto; min-height:0; margin-top:38px; }
.building-section:not(.building-enhanced) .depth-panels { display:grid; gap:28px; min-height:0; }
.building-section:not(.building-enhanced) .depth-panel { position:static; opacity:1; visibility:visible; transform:none; }
.building-section:not(.building-enhanced) .depth-panel h3 { font-size:clamp(22px,2vw,28px); margin-top:12px; }
.building-section:not(.building-enhanced) .depth-choices,
.building-section:not(.building-enhanced) .building-instruction { display:none; }
.building-section:not(.building-enhanced) .building-art { height:560px; min-height:0; align-self:stretch; }
@media (max-width:759px) {
  .building-section:not(.building-enhanced) .building-art { height:400px; flex:none; }
  .building-section:not(.building-enhanced) .building-copy { padding-top:0; }
}
