/* Brand palette sampled from the DNDS logo */
:root {
  --navy: #101e42;
  --navy-2: #172a57;
  --slate: #b8c8cf;
  --slate-dk: #6f8792;
  --white: #ffffff;
  --paper: #f5f4f0;
  --ink: #101e42;
  --muted: #4a5670;
  --line: rgba(16, 30, 66, .14);
  --line-inv: rgba(184, 200, 207, .22);
  --wrap: 1200px;
  --gutter: 24px;
  --display: "Hind", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); color: var(--navy); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--line-inv);
  color: var(--white);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-weight: 300; letter-spacing: .08em; font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; font-size: .95rem; color: rgba(255,255,255,.8); transition: color .15s; }
.nav-links a:hover { color: var(--white); }
.nav-links .mono { font-size: .7rem; color: var(--slate-dk); margin-right: 4px; }
.nav-cta {
  border: 1px solid var(--slate); padding: 8px 18px; color: var(--white) !important;
  transition: background .15s, color .15s;
}
.nav-cta:hover { background: var(--slate); color: var(--navy) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px 4px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 26px; height: 1.5px; background: var(--white); margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center;
  padding-top: 88px; padding-bottom: 80px;
}
.wordmark {
  font-size: clamp(3.2rem, 8.4vw, 7.4rem);
  line-height: .9; letter-spacing: -.035em; font-weight: 600;
}
.wordmark span { display: block; }
.tagline {
  font-size: 1rem; letter-spacing: .38em; text-transform: lowercase; font-weight: 500;
  color: var(--slate); margin: 28px 0 0;
}
.hero-lead { max-width: 34em; margin-top: 36px; color: rgba(255,255,255,.78); font-size: 1.1rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }

.btn {
  display: inline-flex; gap: 10px; align-items: center;
  background: var(--white); color: var(--navy); text-decoration: none; font-weight: 600;
  padding: 15px 26px 13px; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--slate); }
.btn span { transition: transform .15s; }
.btn:hover span { transform: translateX(4px); }
.link-arrow {
  text-decoration: none; font-weight: 500; color: var(--slate);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover { color: var(--white); }

.hero-mark { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
.mark-caption {
  display: block; text-align: center; margin-top: 18px;
  font-weight: 300; font-size: 1.6rem; letter-spacing: .14em; color: var(--white);
}

.spec { border-top: 1px solid var(--line-inv); }
.spec dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.spec dl > div { padding: 22px 0 26px; }
.spec dl > div + div { padding-left: 20px; border-left: 1px solid var(--line-inv); }
.spec dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate-dk); }
.spec dd { margin: 4px 0 0; font-size: 1.02rem; }

/* Intro animation */
@media (prefers-reduced-motion: no-preference) {
  .wordmark span, .tagline, .hero-lead, .hero-actions { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .wordmark span:nth-child(2) { animation-delay: .07s; }
  .wordmark span:nth-child(3) { animation-delay: .14s; }
  .wordmark span:nth-child(4) { animation-delay: .21s; }
  .tagline { animation-delay: .35s; }
  .hero-lead { animation-delay: .45s; }
  .hero-actions { animation-delay: .55s; }
  .hero-mark .split { animation: split 1.1s .25s cubic-bezier(.7,0,.2,1) both; }
  .hero-mark .gap { animation: drop 1s .1s cubic-bezier(.7,0,.2,1) both; }
  .hero-mark .gap-2 { animation-delay: .2s; }
  .mark-caption { animation: fade 1s .9s both; }
}
@keyframes rise  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes split { from { transform: translate(100px, 100px); } to { transform: none; } }
@keyframes drop  { from { transform: translateY(-102px); } to { transform: none; } }
@keyframes fade  { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: baseline; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 16em; }
.label { font-size: .95rem; font-weight: 500; color: var(--muted); margin: 0; }
.label .mono { font-size: .75rem; color: var(--slate-dk); margin-right: 8px; }

/* Services: an index, not a card grid */
.services { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.services li {
  position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  padding: 36px 0; border-top: 1px solid var(--line); isolation: isolate;
}
.services li::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1;
  background: var(--white); transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.services li:hover::before { transform: scaleY(1); }
.services .num { font-size: .85rem; color: var(--slate-dk); padding-top: 10px; }
.services h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.services p { color: var(--muted); margin: 0; padding-top: 6px; }

/* Workshops */
.section-white { background: var(--white); }
.workshop { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.workshop-intro p { color: var(--muted); }
.workshop-note { font-family: var(--mono); font-size: .8rem; color: var(--navy) !important; border-left: 2px solid var(--slate); padding-left: 12px; }
.workshop-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.workshop-steps li { padding: 28px 24px 8px; border-left: 1px solid var(--line); }
.workshop-steps .mono { font-size: .78rem; color: var(--slate-dk); }
.workshop-steps h3 { font-size: 1.4rem; margin: 28px 0 10px; }
.workshop-steps p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Founder */
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .label { color: rgba(255,255,255,.7); }
.section-navy .section-head h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.035em; }
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; border-top: 1px solid var(--line-inv); padding-top: 40px; }
.founder-role { font-size: .8rem; color: var(--slate); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 24px; }
.founder-bio p:not(.founder-role) { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.tags { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--mono); font-size: .75rem; color: var(--slate);
  border: 1px solid var(--line-inv); padding: 5px 10px;
}
.highlights-label { font-size: .78rem; color: var(--slate); margin-bottom: 8px; }
.founder-highlights ol { list-style: none; margin: 0; padding: 0; counter-reset: hl; }
.founder-highlights li { counter-increment: hl; padding: 24px 0 24px 52px; position: relative; border-bottom: 1px solid var(--line-inv); }
.founder-highlights li::before {
  content: "0" counter(hl); position: absolute; left: 0; top: 27px;
  font-family: var(--mono); font-size: .8rem; color: var(--slate-dk);
}
.founder-highlights h3 { font-size: 1.3rem; margin-bottom: 8px; }
.founder-highlights li p { margin: 0; color: rgba(255,255,255,.7); font-size: 1rem; }
.fine-print { margin-top: 24px; font-size: .78rem; line-height: 1.5; color: rgba(255,255,255,.5); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-year { position: relative; }
.about-year .since { position: absolute; top: 0; left: 6px; font-size: .9rem; color: var(--slate-dk); }
.about-year .year {
  display: block; font-weight: 700; line-height: .8; letter-spacing: -.05em;
  font-size: clamp(7rem, 17vw, 15rem);
  color: transparent; -webkit-text-stroke: 2px var(--navy);
  padding-top: 32px;
}
.about-text h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 18px 0 28px; }
.about-text p:not(.label) { color: var(--muted); max-width: 32em; }
.about-text a { color: var(--navy); text-underline-offset: 3px; }

/* Contact */
.contact { background: var(--slate); padding: 120px 0 128px; }
.contact .label { color: var(--navy); }
.contact .label .mono { color: var(--navy); opacity: .6; }
.contact-title { font-size: clamp(2.6rem, 7vw, 6rem); line-height: .95; letter-spacing: -.035em; margin: 28px 0 24px; }
.contact-lead { font-size: 1.15rem; max-width: 30em; color: var(--navy); opacity: .8; }
.email-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.email {
  font-size: clamp(1.15rem, 3.4vw, 2.2rem); font-weight: 500; text-decoration: none;
  background: linear-gradient(var(--navy), var(--navy)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 4px; transition: background-size .3s; overflow-wrap: anywhere;
}
.email:hover { background-size: 0 2px; background-position: 100% 100%; }
.copy {
  font: 500 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em;
  background: transparent; color: var(--navy); border: 1px solid var(--navy);
  padding: 8px 14px; cursor: pointer; transition: background .15s, color .15s;
}
.copy:hover, .copy.done { background: var(--navy); color: var(--white); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-name { margin: 0; color: var(--white); font-weight: 500; }
.footer-sub { margin: 0; font-size: .85rem; color: var(--slate); }
.tagline-small { margin: 4px 0 0; font-size: .75rem; letter-spacing: .32em; }
.footer-meta { margin: 0; font-size: .78rem; color: var(--slate-dk); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; gap: 56px; }
  .hero-mark { display: none; }
  .spec dl { grid-template-columns: 1fr 1fr; }
  .spec dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec dl > div:nth-child(n+3) { border-top: 1px solid var(--line-inv); }
  .section-head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .services li { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .services .num { padding-top: 0; }
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .workshop { grid-template-columns: 1fr; gap: 32px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line-inv);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-inv); }
  .nav-links .nav-cta { margin-top: 16px; text-align: center; border: 1px solid var(--slate); }
  .section { padding: 88px 0; }
  .workshop-steps { grid-template-columns: 1fr; }
  .workshop-steps li { padding: 24px 0 20px; border-left: 0; border-bottom: 1px solid var(--line); }
  .workshop-steps h3 { margin-top: 12px; }
  .contact { padding: 88px 0 96px; }
}

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