/* One layout system. Decorations stay inside their own sections. */
:root {
  --bg:#0b0e0d;
  --surface:#111613;
  --text:#f0f1e9;
  --muted:#a2ada5;
  --accent:#c2d6b3;
  --line:#303a33;
  --sans:'Space Grotesk',system-ui,sans-serif;
  --mono:'DM Mono',ui-monospace,monospace;
  --gutter:clamp(22px,5.5vw,88px);
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:30px;
  background:var(--bg);
}

body {
  margin:0;
  color:var(--text);
  background:var(--bg);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
}

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

button {
  font:inherit;
  color:inherit;
  cursor:pointer;
}

img {
  display:block;
  max-width:100%;
  height:auto;
}

button,a {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:6px;
}

button[hidden],[hidden] {
  display:none!important;
}

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

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

h1,h2 {
  letter-spacing:-.055em;
  line-height:1.08;
}

em {
  font-style:normal;
  color:var(--accent);
}

.muted {
  color:var(--muted);
}

.shell {
  width:min(100%,1600px);
  padding-inline:var(--gutter);
  margin-inline:auto;
}

.mono,.eyebrow {
  font:11px/1.6 var(--mono);
  letter-spacing:.08em;
}

.eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
}

.status-dot {
  width:6px;
  height:6px;
  display:inline-block;
  flex-shrink:0;
  border-radius:50%;
  background:var(--accent);
}

.sr-only,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}

.skip-link:focus {
  position:fixed;
  z-index:100;
  top:12px;
  left:12px;
  padding:14px;
  background:var(--accent);
  color:var(--bg);
}

.site-header {
  position:relative;
  z-index:10;
  border-bottom:1px solid var(--line);
  background:var(--bg);
}

.header-inner {
  min-height:96px;
  display:flex;
  align-items:center;
  gap:36px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
  font-size:28px;
  font-weight:600;
  letter-spacing:-1.5px;
}

.brand img {
  width:45px;
  height:36px;
  object-fit:contain;
  filter:invert(1);
}

.brand-period {
  color:var(--accent);
}

.header-status {
  margin-left:22px;
  display:flex;
  align-items:center;
  gap:10px;
  font:10px/1.5 var(--mono);
  color:var(--muted);
}

.main-nav {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:30px;
  font-size:13px;
}

.main-nav a {
  padding-block:12px;
  transition:color .2s;
}

.main-nav a:hover,.text-link:hover,.hero-foot a:hover,.back-top:hover {
  color:var(--accent);
}

.main-nav .nav-contact {
  padding:12px 18px;
  border:1px solid var(--line);
  border-radius:4px;
}

.nav-contact span {
  margin-left:20px;
}

.menu-toggle {
  display:none;
  border:1px solid var(--line);
  border-radius:4px;
  background:transparent;
  padding:12px 16px;
  align-items:center;
  gap:18px;
}

.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}

.hero-backdrop {
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
}

.hero-backdrop img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:.72;
}

.hero-backdrop::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(11,14,13,.7),rgba(11,14,13,.1)),linear-gradient(0deg,var(--bg),transparent 35%);
}

.hero-inner {
  padding-top:clamp(80px,8vw,132px);
  padding-bottom:28px;
}

.hero .eyebrow {
  color:var(--accent);
  text-transform:uppercase;
  margin-bottom:30px;
}

h1 {
  font-size:clamp(54px,7.8vw,116px);
  max-width:1150px;
}

h1 em {
  color:#bccbb6;
}

.hero-intro {
  font-size:clamp(16px,1.4vw,19px);
  line-height:1.7;
  color:#c1cac2;
  margin-top:32px;
  max-width:510px;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:36px;
  min-height:52px;
  padding:16px 22px;
  border-radius:4px;
  font-size:14px;
  font-weight:500;
  transition:background .2s,transform .2s;
}

.button-primary {
  background:var(--accent);
  color:#142014;
}

.button-primary:hover {
  background:#d5e6c8;
  transform:translateY(-2px);
}

.button span {
  font-size:20px;
  line-height:1;
}

.hero .button {
  margin-top:30px;
}

.hero-foot {
  margin-top:clamp(70px,8vw,125px);
  padding-top:22px;
  border-top:1px solid #354035;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  color:var(--muted);
}

.hero-foot a {
  font-size:12px;
}

.hero-foot a span {
  margin-left:22px;
}

.section {
  padding-block:110px;
}

.section-label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:50px;
}

.section-label .mono {
  color:var(--accent);
}

.small-note {
  color:var(--muted);
  font-size:12px;
}

.about-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:8%;
}

h2 {
  font-size:clamp(36px,4.2vw,62px);
}

.prose {
  font-size:16px;
  line-height:1.8;
}

.prose p+p {
  margin-top:22px;
}

.work {
  border-block:1px solid var(--line);
  background:#101411;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:32px;
  margin-bottom:42px;
}

.section-heading p {
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}

/* The orbit is the product selector, with stable, reachable controls. */
.universe-grid {
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);
  align-items:center;
  gap:clamp(32px, 5vw, 80px);
}
.universe-grid:has(.project-selector[hidden]) { grid-template-columns:1fr; }
.project-selector { min-width:0; }
.orbit-map {
  position:relative;
  width:100%;
  max-width:540px;
  aspect-ratio:1;
  margin-inline:auto;
  isolation:isolate;
}
.orbit-ring {
  position:absolute;
  border:1px solid #39453b;
  border-radius:50%;
  top:50%; left:50%;
  transform:translate(-50%, -50%);
  pointer-events:none;
}
.orbit-ring-outer { width:98%; height:98%; opacity:.55; }
.orbit-ring-middle { width:74%; height:74%; }
.orbit-ring-inner { width:51%; height:51%; opacity:.7; }
.orbit-axis {
  position:absolute; inset:0;
  background:linear-gradient(90deg, transparent calc(50% - .5px), #29372c 50%, transparent calc(50% + .5px));
  mask-image:linear-gradient(transparent, black 25%, black 75%, transparent);
  pointer-events:none;
}
.orbit-center {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%, -50%);
  width:34%; aspect-ratio:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px;
  background:radial-gradient(circle at 50% 35%, #1a231c, #0b0e0d 75%);
  border:1px solid #667561; border-radius:50%;
  box-shadow:0 0 0 12px #b5cba005, 0 0 65px #b5cba009;
}
.orbit-center img { width:48%; height:auto; filter:invert(1); }
.orbit-center .mono { font-size:7px; letter-spacing:.1em; color:var(--muted); }
.orbit-node {
  position:absolute; z-index:2;
  transform:translate(-50%, -22px);
  display:flex; flex-direction:column; align-items:center; gap:9px;
  width:116px; padding:0 0 8px;
  background:none; border:0; border-radius:4px;
  color:var(--muted);
}
.orbit-node-tangroup { left:16%; top:35.5%; }
.orbit-node-justbook { left:80%; top:28.3%; }
.node-marker {
  width:44px; height:44px;
  display:grid; place-items:center;
  border:1px solid transparent; border-radius:50%;
  transition:border-color .2s, background .2s;
}
.node-marker::after { content:''; width:9px; height:9px; border-radius:50%; background:#899a8d; transition:background .2s; }
.node-label { font-size:14px; font-weight:500; background:#101411; padding-inline:5px; }
.node-number { font-size:7px; letter-spacing:.04em; background:#101411; padding-inline:4px; }
.orbit-node[aria-pressed=true] { color:var(--text); }
.orbit-node[aria-pressed=true] .node-marker { border-color:#849c78; background:#c2d6b30b; }
.orbit-node[aria-pressed=true] .node-marker::after { background:var(--accent); }
.orbit-node:hover .node-marker { border-color:var(--accent); }
.orbit-node:focus-visible { outline-offset:4px; }
.orbit-satellite { position:absolute; left:54%; top:75%; width:5px; height:5px; border-radius:50%; background:#83947e; }
.orbit-instruction { margin-top:24px; text-align:center; font-size:9px; color:var(--muted); }
.orbit-help { margin-top:9px; text-align:center; font-size:12px; color:var(--muted); }
.universe-preview { min-width:0; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:var(--bg); }
.preview-heading { display:flex; justify-content:space-between; gap:16px; padding:18px 24px; border-bottom:1px solid var(--line); color:var(--muted); font-size:9px; }
.preview-heading .status-dot { width:5px; height:5px; margin-right:7px; }
.universe-preview .project-panel { grid-template-columns:1fr; border:0; border-radius:0; min-height:0; }
.universe-preview .project-media { grid-row:1; min-height:370px; height:370px; padding:32px 24px 54px; border-bottom:1px solid var(--line); }
.universe-preview .phone-screen { width:36%; max-width:130px; }
.universe-preview .project-copy { padding:28px 30px; }
.universe-preview .project-copy h3 { font-size:38px; margin:12px 0; }
.universe-preview .project-description { max-width:none; }
.universe-preview .project-index { display:none; }
.universe-preview .tags { margin:20px 0; }
.universe-preview .dashboard-frame { max-width:470px; }
.universe-grid:has(.project-selector[hidden]) .project-panel + .project-panel { border-top:1px solid var(--line); }

.project-panel {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
  min-height:500px;
  background:var(--bg);
}

.project-selector[hidden]~.project-panel+.project-panel {
  margin-top:28px;
}

.project-copy {
  padding:clamp(28px,3.4vw,52px);
  display:flex;
  align-items:start;
  flex-direction:column;
}

.project-copy .eyebrow {
  color:var(--accent);
  font-size:10px;
}

.project-copy h3 {
  font-size:clamp(38px,4vw,56px);
  letter-spacing:-.05em;
  margin:22px 0 14px;
}

.project-copy>p:not(.eyebrow) {
  font-size:17px;
  line-height:1.6;
}

.project-copy .project-description {
  color:var(--muted);
  margin-top:16px;
  font-size:15px!important;
  max-width:365px;
}

.tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:24px 0 30px;
  padding:0;
  list-style:none;
}

.tags li {
  border:1px solid var(--line);
  border-radius:4px;
  padding:6px 9px;
  color:#b9c5ba;
  font-size:10px;
}

.text-link {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  font-size:13px;
  border-bottom:1px solid #64725f;
  padding-bottom:9px;
}

.project-index {
  color:var(--muted);
  font-size:9px;
  margin-top:auto;
  padding-top:36px;
}

.project-media {
  position:relative;
  min-width:0;
  min-height:500px;
  background:#263127;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:44px 30px 64px;
  gap:20px;
}

.member-media {
  background:radial-gradient(ellipse at 50% 40%,#303c32,#1b241e);
  gap:24px;
  padding-block:48px 72px;
}

/* iPhone 16 Pro Max: 77.6 × 163 mm body; 1320 × 2868 px at 460 ppi.
   Source: https://support.apple.com/en-au/121032
   Use proportional geometry rather than fixed pixel padding at different sizes. */
.phone-screen {
  position:relative;
  width:38%;
  max-width:190px;
  aspect-ratio:77.6 / 163;
  flex-shrink:0;
  border-radius:15.5% / 7.38%;
  background:#141716;
  box-shadow:inset 0 0 0 1px #68706a, 0 2px 3px #0008, 0 18px 32px #0004;
  transform:translateY(-10px);
}

.phone-screen img {
  position:absolute;
  width:93.926490%;
  max-width:none;
  height:auto;
  aspect-ratio:1320 / 2868;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  border-radius:13.8% / 6.35%;
}

.phone-secondary {
  transform:translateY(12px);
}

.media-caption {
  position:absolute;
  bottom:22px;
  left:20px;
  right:20px;
  text-align:center;
  color:#c0ccbb;
  font-size:9px;
  letter-spacing:.06em;
}

.dashboard-media {
  background:radial-gradient(ellipse at center,#364748,#1b282b);
}

.dashboard-frame {
  width:100%;
  border:1px solid #637577;
  border-radius:7px;
  overflow:hidden;
  box-shadow:0 24px 48px #0006;
}

.dashboard-frame img {
  width:100%;
  height:auto;
}

.window-bar {
  background:#202c2d;
  height:28px;
  display:flex;
  align-items:center;
  gap:5px;
  padding:0 10px;
}

.window-bar i {
  width:5px;
  height:5px;
  border-radius:50%;
  background:#90a5a3;
}

.window-bar span {
  font:8px var(--mono);
  color:#c5d2cd;
  margin-left:10px;
}

.approach-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10%;
}

.approach-intro {
  font-size:15px;
  color:var(--muted);
  line-height:1.8;
  max-width:320px;
  margin-top:28px;
}

.principle {
  display:grid;
  grid-template-columns:28px 1fr;
  gap:24px;
  border-top:1px solid var(--line);
  padding-block:28px;
}

.principle .mono {
  color:var(--accent);
  padding-top:4px;
}

.principle h3 {
  font-size:20px;
  letter-spacing:-.025em;
  margin-bottom:12px;
}

.principle p {
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}

.contact {
  border-block:1px solid var(--line);
  background:#141c16;
  overflow:hidden;
}

.contact-inner {
  position:relative;
  isolation:isolate;
}

.contact .eyebrow {
  font-size:10px;
  color:var(--accent);
  margin-bottom:30px;
  max-width:90%;
}

.contact h2 {
  font-size:clamp(58px,7vw,104px);
}

.contact .button {
  margin-top:36px;
}

.contact-email {
  display:block;
  width:fit-content;
  font-size:13px;
  color:#b5c2b2;
  margin-top:22px;
  overflow-wrap:anywhere;
}

.contact-email:hover {
  text-decoration:underline;
}

.contact-orbits {
  position:absolute;
  width:450px;
  height:450px;
  top:50%;
  right:9%;
  transform:translateY(-50%);
  z-index:-1;
  display:grid;
  place-items:center;
}

.contact-orbits i {
  position:absolute;
  border:1px solid #3b4b37;
  border-radius:50%;
  width:100%;
  height:100%;
}

.contact-orbits i:nth-child(2) {
  width:72%;
  height:72%;
}

.contact-orbits i:nth-child(3) {
  width:44%;
  height:44%;
}

.contact-orbits span {
  font:50px var(--mono);
  font-weight:400;
  color:var(--accent);
}

.site-footer {
  display:flex;
  align-items:center;
  gap:36px;
  min-height:128px;
}

.site-footer .brand {
  font-size:23px;
}

.site-footer .brand img {
  width:35px;
  height:30px;
}

.site-footer p {
  font-size:12px;
  color:var(--muted);
}

.site-footer>.mono {
  margin-left:auto;
  font-size:10px;
  color:var(--muted);
}

.back-top {
  font-size:12px;
}

.back-top span {
  margin-left:14px;
}

@media(min-width:1800px) {
  .hero-backdrop img {
    object-position:center 48%;
  }
}

@media(max-width:1100px) {
  .header-status {
    display:none;
  }
  .project-copy {
    padding:32px;
  }
  .phone-screen {
    width:46%;

  }
  .project-media {
    gap:12px;
    padding-inline:20px;
  }
  .contact-orbits {
    right:4%;
    width:370px;
    height:370px;
    opacity:.6;
  }
  .site-footer {
    gap:24px;
  }
}

@media(max-width:760px) {
  .header-inner {
    min-height:80px;
    gap:20px;
    flex-wrap:wrap;
  }
  .brand {
    font-size:26px;
  }
  .brand img {
    width:38px;
    height:32px;
  }
  .menu-toggle:not([hidden]) {
    display:flex;
    margin-left:auto;
  }
  .main-nav {
    width:100%;
    margin:0;
    gap:8px;
    align-items:stretch;
    flex-direction:column;
    padding-bottom:20px;
  }
  .main-nav a {
    padding:14px 0;
    min-height:48px;
  }
  .main-nav .nav-contact {
    padding:14px 16px;
  }
  .menu-toggle:not([hidden])[aria-expanded=false]~.main-nav {
    display:none;
  }
  .hero-inner {
    padding-top:72px;
  }
  .hero-backdrop img {
    object-position:64% center;
    opacity:.45;
  }
  .hero-backdrop::after {
    background:linear-gradient(90deg,#0b0e0d88,#0b0e0d44),linear-gradient(0deg,var(--bg),transparent);
  }
  h1 {
    font-size:clamp(48px,8.4vw,66px);
  }
  .hero h1 br {
    display:none;
  }
  .hero h1 em {
    display:block;
  }
  .hero-foot {
    margin-top:74px;
  }
  .hero-foot .mono {
    font-size:9px;
  }
  .hero-foot a {
    font-size:11px;
  }
  .section {
    padding-block:72px;
  }
  .section-label {
    margin-bottom:34px;
  }
  .small-note {
    display:none;
  }
  .about-grid,.approach-grid {
    grid-template-columns:1fr;
    gap:32px;
  }
  h2 {
    font-size:clamp(34px,6vw,48px);
  }
  .prose {
    font-size:15px;
  }
  .section-heading {
    align-items:start;
    flex-direction:column;
    gap:18px;
    margin-bottom:24px;
  }
  .desktop-break {
    display:none;
  }
  .project-panel {
    grid-template-columns:1fr;
  }
  .project-copy {
    padding:30px;
  }
  .project-copy .project-description {
    max-width:none;
  }
  .project-index {
    padding-top:30px;
  }
  .project-media {
    min-height:420px;
    padding-top:42px;
  }
  .phone-screen {
    width:42%;

  }
  .approach-intro {
    max-width:440px;
  }
  .contact-orbits {
    right:-160px;
    opacity:.3;
  }
  .contact h2 {
    font-size:clamp(54px,10vw,78px);
  }
  .contact .eyebrow {
    line-height:1.9;
    align-items:baseline;
  }
  .site-footer {
    padding-block:30px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:24px 12px;
    min-height:0;
  }
  .site-footer p {
    grid-row:2;
    grid-column:1/-1;
  }
  .site-footer>.mono {
    margin:0;
    grid-row:3;
  }
  .back-top {
    grid-row:3;
    grid-column:2;
  }
}

@media(max-width:380px) {
  h1 {
    font-size:44px;
  }
  .hero-foot {
    align-items:start;
    flex-direction:column;
    gap:12px;
  }
  .project-selector {
    gap:22px;
  }
  .project-selector button {
    gap:10px;
    font-size:14px;
  }
  .project-copy {
    padding:24px;
  }
  .project-media {
    min-height:350px;
    gap:12px;
    padding-inline:16px;
  }
  .phone-screen {
    width:46%;

  }
  .media-caption {
    font-size:8px;
  }
  .principle {
    gap:14px;
  }
  .contact h2 {
    font-size:52px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
}


@media(max-width:1000px) {
  .universe-grid { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:24px; }
  .orbit-center .mono { display:none; }
  .node-number { display:none; }
  .node-label { font-size:12px; }
  .orbit-node { width:90px; }
  .preview-heading { padding:16px; font-size:8px; }
}
@media(max-width:760px) {
  .universe-grid { grid-template-columns:1fr; gap:32px; }
  .orbit-map { max-width:400px; }
  .orbit-instruction { margin-top:16px; }
  .universe-preview .project-copy { padding:26px; }
  .universe-preview .project-media { height:370px; min-height:370px; }
}
@media(max-width:380px) {
  .orbit-node { width:78px; }
  .node-label { font-size:11px; }
  .preview-heading { font-size:7px; padding-inline:12px; }
  .universe-preview .project-media { height:320px; min-height:320px; padding-inline:16px; }
  .universe-preview .phone-screen { max-width:110px; width:42%; }
  .universe-preview .project-copy { padding:22px; }
}

/* Reveal the preview at the orbit, rather than below it. */
.universe-grid.orbit-enhanced { position:relative; }
.orbit-enhanced .universe-preview {
  position:absolute;
  z-index:3;
  right:0;
  top:50%;
  width:calc((100% - clamp(32px, 5vw, 80px)) * .525);
  transform:translateY(-50%);
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  box-shadow:0 24px 70px #0007;
  transition:opacity .18s ease;
}
.orbit-enhanced.is-preview-open .universe-preview {
  visibility:visible;
  opacity:1;
  pointer-events:auto;
}
.orbit-enhanced .preview-heading { align-items:center; padding-block:8px; }
.orbit-enhanced .preview-heading>span:nth-child(2) { margin-left:auto; font-size:8px; }
.orbit-enhanced .project-media { height:240px; min-height:240px; padding:20px 20px 35px; }
.orbit-enhanced .phone-screen { max-width:86px; }
.orbit-enhanced .project-copy { padding:22px 26px; }
.orbit-enhanced .project-copy h3 { margin:8px 0; font-size:32px; }
.orbit-enhanced .project-copy>p:not(.eyebrow):not(.project-description) { display:none; }
.orbit-enhanced .project-copy .project-description { margin-top:4px; font-size:14px!important; }
.orbit-enhanced .tags { margin:14px 0; }
.orbit-enhanced .dashboard-frame { max-width:280px; }
.orbit-enhanced .media-caption { bottom:12px; font-size:8px; }
@media(max-width:1000px) and (min-width:761px) {
  .orbit-enhanced .universe-preview { width:calc((100% - 24px) * .55); }
}
@media(max-width:760px) {
  .orbit-enhanced .universe-preview {
    position:fixed;
    top:50%;
    right:50%;
    transform:translate(50%, -50%);
    width:min(calc(100vw - 32px), 440px);
    max-height:calc(100svh - 32px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .orbit-enhanced .project-media { height:200px; min-height:200px; }
  .orbit-enhanced .phone-screen { max-width:68px; }
  .orbit-enhanced .dashboard-frame { max-width:230px; }
  .orbit-enhanced .project-copy { padding:18px 22px; }
  .orbit-enhanced .preview-heading>span:nth-child(2) { display:none; }
}

@media(min-width:761px) {
  .universe-grid.orbit-enhanced { min-height:560px; }
}

.orbit-enhanced.is-preview-hover .universe-preview { pointer-events:none; }
