@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Brand palette and typography. Change these values to restyle the site. */
:root {
  --background: #111411;
  --surface: #1b1e1b;
  --border: #343933;
  --text: #f3f5ee;
  --muted: #a9b1a5;
  --lime: #dcf757;
  --ink: #161b0e;
  --body-font: 'DM Sans', Arial, sans-serif;
  --heading-font: 'Manrope', Arial, sans-serif;
  color-scheme: dark;
  font-family: var(--body-font);
  background: var(--background);
  color: var(--text);
  font-synthesis: none;
}

/* Base and accessibility */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 6px; }
.contact-section a:focus-visible { outline-color: var(--ink); }
::selection { background: var(--lime); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading-font); }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 10px 18px; color: var(--ink); background: var(--lime); }
.skip-link:focus { top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header. The image window trims only the logo's transparent margins in CSS. */
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 27px; border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.logo-window { position: relative; display: block; width: 56px; height: 56px; overflow: hidden; flex-shrink: 0; }
.logo-window img { position: absolute; width: 195.62%; max-width: none; height: auto; left: -47.68%; top: -38.15%; }
.brand-name { padding-left: 18px; border-left: 1px solid #5c6557; font-size: .75rem; font-weight: 600; line-height: 1.45; letter-spacing: .15em; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .9375rem; }
.site-nav > a { color: #c6cec0; }
.site-nav > a:hover { color: var(--lime); }
.site-nav .nav-contact { display: flex; align-items: center; gap: 24px; padding: 10px 20px; border: 1px solid #657057; border-radius: 100px; color: var(--text); }
.site-nav .nav-contact:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.menu-toggle { display: none; }

/* Reusable type and links */
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 25px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; line-height: 1.6; }
.mini-rule { width: 27px; height: 2px; background: var(--lime); flex-shrink: 0; }
.muted { color: var(--muted); }
h2 { margin-bottom: 0; font-size: clamp(2.75rem, 4.2vw, 4.25rem); font-weight: 600; line-height: 1.12; letter-spacing: -.05em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 55px; padding: 16px 23px; border: 1px solid transparent; border-radius: 100px; font-size: .9375rem; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button > [aria-hidden] { font-size: 1.2rem; }
.button-lime { color: var(--ink); background: var(--lime); }
.button-lime:hover { background: #e8ff86; }
.button-dark { color: var(--text); background: var(--ink); }
.button-dark:hover { background: #303d1a; }
.button-outline { border-color: #657057; }
.button-outline:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.text-link { width: fit-content; padding-bottom: 5px; border-bottom: 1px solid #8d9b7d; font-size: .9375rem; }
.text-link span { margin-left: 20px; color: var(--lime); }
.text-link:hover { color: var(--lime); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 16px; align-items: center; min-height: 690px; padding-block: 74px 64px; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
h1 { margin-bottom: 31px; font-size: clamp(4.5rem, 7.3vw, 7.5rem); font-weight: 600; line-height: 1.04; letter-spacing: -.055em; }
h1 em { font-style: normal; color: var(--lime); }
.hero-description { margin-bottom: 29px; color: #b7c0b1; font-size: 1.125rem; line-height: 1.75; }
.hero-caption { margin: 42px 0 0; color: #d4dccd; font-size: .75rem; letter-spacing: .1em; }
.hero-visual { position: relative; display: flex; align-items: center; align-self: stretch; min-width: 0; min-height: 480px; isolation: isolate; }
.hero-art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; mix-blend-mode: lighten; }
.visual-label { position: absolute; left: 9%; right: 5%; bottom: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #afb9a5; font-size: .75rem; letter-spacing: .08em; }
.visual-label span:last-child { color: var(--lime); }
.discipline-strip { border-block: 1px solid var(--border); background: #171b15; }
.discipline-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 23px; font-size: .875rem; font-weight: 500; letter-spacing: .13em; }
.discipline-inner [aria-hidden] { color: var(--lime); font-size: 1.2rem; }

/* Services */
.services { padding-block: 95px 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 55px; margin-bottom: 44px; }
.section-intro { max-width: 335px; margin-bottom: 7px; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { display: flex; flex-direction: column; padding: 30px 29px 31px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); transition: border-color .2s; }
.service-card:hover { border-color: #6b755d; }
.card-top { display: flex; align-items: center; justify-content: space-between; min-height: 43px; margin-bottom: 28px; }
.service-number { color: #b4beac; font-size: .8125rem; letter-spacing: .08em; }
.card-top svg { width: 35px; height: 35px; color: #d3dccb; }
.service-card h3 { margin-bottom: 17px; font-size: 1.5rem; font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.service-card p { margin-bottom: 26px; color: #adb7a5; font-size: 1rem; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: auto 0 0; padding: 0; list-style: none; }
.service-tags li { padding: 4px 10px; border: 1px solid #4a5543; border-radius: 100px; color: #c2cbb9; font-size: .875rem; line-height: 1.5; }
.lime-card { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.lime-card:hover { border-color: #f1ffbe; }
.lime-card .service-number, .lime-card .card-top svg { color: #3e4e12; }
.lime-card p { color: #3b461f; }
.lime-card .service-tags li { border-color: #9bb330; color: #2e3a15; }
.service-note { display: flex; align-items: center; gap: 24px; padding-top: 33px; }
.note-symbol { font-size: 2.5rem; line-height: 1; color: var(--lime); }
.service-note p { margin: 0; color: var(--muted); font-size: .9375rem; }
.service-note strong { font-weight: 400; color: #d2dbca; }
.service-note .text-link { margin-left: auto; white-space: nowrap; }

/* Founder */
.founder-section { padding-block: 38px 100px; }
.founder-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6.5vw, 95px); align-items: center; padding-top: 68px; border-top: 1px solid var(--border); }
.founder-portrait { margin: 0; max-width: 470px; }
.founder-portrait > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.founder-portrait figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 17px; color: #c6cec0; font-size: .75rem; letter-spacing: .12em; }
.founder-portrait figcaption span:last-child { color: var(--lime); }
.founder-copy h2 { margin-bottom: 26px; }
.founder-copy h2 span { color: var(--lime); }
.founder-copy h3 { margin-bottom: 6px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.founder-copy p:not(.eyebrow) { color: #b6c0ae; font-size: 1rem; }
.founder-copy .founder-role { margin-bottom: 25px; color: var(--lime) !important; font-size: .875rem !important; }
.founder-copy .button { margin-top: 9px; }

/* Contact and footer */
.contact-section { padding-block: 78px 82px; background: var(--lime); color: var(--ink); }
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 70px; align-items: center; }
.contact-section .eyebrow { margin-bottom: 22px; color: #475322; }
.contact-section h2 { font-size: clamp(3.9rem, 6.5vw, 6.5rem); line-height: 1.06; }
.contact-section h2 span { color: #597220; }
.contact-copy { padding-top: 30px; }
.contact-copy p { margin-bottom: 24px; color: #36441a; font-size: 1.1rem; line-height: 1.8; }
.contact-copy .button { margin-bottom: 17px; }
.email-link { display: block; width: fit-content; font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 10px 30px; padding-block: 32px; }
.footer-brand { font-size: .875rem; font-weight: 600; letter-spacing: .075em; }
.site-footer p { grid-column: 1; margin: 0; color: var(--muted); font-size: .875rem; }
.footer-links { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 25px; font-size: .875rem; }
.footer-links a:hover { color: var(--lime); }
.site-footer small { grid-column: 2; grid-row: 2; align-self: center; color: var(--muted); font-size: .75rem; text-align: right; }

/* Tablet */
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 600px; padding-block: 60px; gap: 0; }
  h1 { font-size: clamp(4rem, 8vw, 6rem); }
  .hero-visual { min-height: 420px; }
  .eyebrow { letter-spacing: .06em; }
  .site-nav { gap: 24px; }
  .service-card { padding: 25px 22px; }
  .service-card h3 { font-size: 1.3125rem; }
  .contact-layout { gap: 40px; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: 1.12fr 1fr; }
  h1 { font-size: clamp(3.5rem, 8vw, 5rem); }
  .hero-visual { min-height: 370px; }
  .hero-description { font-size: 1rem; }
  .desktop-break { display: none; }
  .visual-label { left: 4%; right: 2%; bottom: 25px; font-size: .75rem; }
  .section-heading { gap: 30px; }
  .section-intro { max-width: 270px; font-size: 1rem; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card h3 { font-size: 1.5rem; }
  .founder-layout { grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
  .founder-copy h2 { font-size: 3rem; }
  .contact-layout { grid-template-columns: 1.1fr 1fr; gap: 30px; }
  .contact-section h2 { font-size: 4rem; }
  .contact-copy p { font-size: 1rem; }
}

/* Mobile navigation is enhanced, not required, by script.js. */
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 12px 24px; }
  .js .site-header { flex-wrap: nowrap; }
  .js .menu-toggle { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; padding: 8px 14px; border: 1px solid #657057; border-radius: 100px; background: transparent; color: var(--text); cursor: pointer; font-size: .875rem; }
  .menu-icon { display: grid; gap: 5px; width: 17px; }
  .menu-icon span { display: block; height: 1px; width: 17px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .js .site-nav { position: absolute; display: none; top: calc(100% + 8px); left: 0; width: 100%; padding: 20px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); box-shadow: 0 16px 32px #0005; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
  .js .site-nav a { padding: 12px 8px; }
  .js .site-nav .nav-contact { margin-top: 7px; padding-inline: 16px; justify-content: space-between; }
}

/* Small screens */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 21px; gap: 15px; }
  .brand { gap: 12px; }
  .logo-window { width: 46px; height: 46px; }
  .brand-name { padding-left: 12px; font-size: .75rem; letter-spacing: .06em; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-block: 45px 25px; }
  .hero-copy .eyebrow { max-width: 340px; margin-bottom: 24px; font-size: .75rem; letter-spacing: .035em; }
  h1 { margin-bottom: 24px; font-size: clamp(3rem, 14vw, 5.5rem); line-height: 1.07; letter-spacing: -.05em; }
  .hero-description { max-width: 330px; margin-bottom: 27px; font-size: 1.0625rem; }
  .hero-caption { margin-top: 28px; }
  .hero-visual { min-height: 0; margin: 20px 5% 0; aspect-ratio: 1; padding-bottom: 23px; }
  .visual-label { bottom: 0; left: 0; right: 0; gap: 5px 10px; font-size: .75rem; letter-spacing: .04em; }
  .discipline-inner { flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding-block: 18px; font-size: .75rem; letter-spacing: .025em; }
  .discipline-inner [aria-hidden] { font-size: .9375rem; }
  .services { padding-block: 57px 34px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading .eyebrow { margin-bottom: 19px; }
  h2 { font-size: clamp(2.25rem, 9vw, 2.75rem); }
  .section-intro { max-width: none; margin-top: 23px; font-size: 1rem; }
  .services-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-card { padding: 24px; }
  .card-top { margin-bottom: 18px; }
  .service-card h3 { font-size: 1.5rem; }
  .service-card h3 br { display: none; }
  .service-card p { margin-bottom: 22px; }
  .service-note { flex-wrap: wrap; gap: 14px; padding-top: 27px; }
  .note-symbol { font-size: 2rem; }
  .service-note p { flex: 1; font-size: .875rem; }
  .service-note .text-link { margin: 6px 0 0 46px; }
  .founder-section { padding-block: 23px 55px; }
  .founder-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 43px; }
  .founder-portrait { width: 100%; max-width: none; }
  .founder-copy h2 { font-size: 3rem; }
  .founder-copy h2 br { display: none; }
  .founder-copy h3 { font-size: 1.4rem; }
  .founder-copy .eyebrow { margin-bottom: 18px; }
  .contact-section { padding-block: 53px; }
  .contact-layout { grid-template-columns: 1fr; gap: 26px; }
  .contact-section h2 { font-size: clamp(3rem, 13vw, 5rem); }
  .contact-copy { padding-top: 0; }
  .contact-copy p { font-size: 1.0625rem; }
  .site-footer { grid-template-columns: 1fr; gap: 11px; padding-block: 29px; }
  .footer-brand { font-size: .8125rem; }
  .footer-links { grid-column: 1; grid-row: auto; justify-content: flex-start; padding-top: 5px; }
  .site-footer small { grid-column: 1; grid-row: auto; text-align: left; }
}

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