:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #161719;
  --muted: #61636a;
  --line: #e0e1e5;
  --accent: #2850eb;
  --accent-hover: #173bcc;
  --on-accent: #fff;
  --section-space: 112px;
  --section-content-gap: 40px;
  --hero-end-space: 128px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.page { width: min(100%, 1360px); margin: 0 auto; padding-inline: 64px; }
.header { position: relative; min-height: 124px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header-actions { display: flex; align-items: center; gap: 32px; }
.wordmark { font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -.075em; text-decoration: none; }
.wordmark span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 32px; font-size: .875rem; }
nav a { text-decoration: none; padding-block: 10px; }
nav a:hover { color: var(--accent); }
.contact-link { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--accent); color: var(--on-accent); padding: 13px 22px; border-radius: 4px; font-size: .875rem; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.contact-link:hover { background: var(--accent-hover); color: var(--on-accent); }
.contact-link::selection { background: var(--paper); color: var(--ink); }
.hero { padding: 80px 0 var(--hero-end-space); }
.eyebrow { font-size: .75rem; line-height: 1.6; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; margin: 0 0 30px; }
h1 { font-size: clamp(3rem, 8.8vw, 7.5rem); line-height: 1.03; letter-spacing: -.065em; font-weight: 700; margin: 0; }
h1 span { color: var(--accent); }
.hero-bottom { margin-top: 40px; }
.intro { max-width: 38rem; font-size: 1.125rem; line-height: 1.65; letter-spacing: -.015em; margin: 0; }
.portfolio, .team { padding: var(--section-space) 0; }
.portfolio + .team { padding-top: 0; }
.portfolio { border-top: 1px solid var(--line); }
.portfolio h2, .team-heading h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -.05em; }
.section-heading { margin-bottom: var(--section-content-gap); }
.section-heading .eyebrow { color: var(--muted); margin-bottom: 14px; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1; letter-spacing: -.045em; }
.section-intro { margin: 12px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }

h3 { margin: 0 0 14px; font-size: clamp(1.75rem, 2.65vw, 2.25rem); font-weight: 600; letter-spacing: -.045em; }
.story { border-top: 1px solid var(--line); padding: var(--section-space) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.story .eyebrow { color: var(--muted); margin-bottom: 20px; }
.story h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 600; }
.story h2 span { color: var(--accent); }
.story-copy > p { margin: 0 0 20px; font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 490px; }
.story-copy > p a { color: var(--accent); }
.story-copy > p a:hover { color: var(--accent-hover); }
.press { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .875rem; line-height: 1.7; padding-top: 4px; }
.press > span { flex-basis: 100%; color: var(--muted); font-size: .75rem; }
.press a:hover { color: var(--accent); }
.footer { border-top: 1px solid var(--line); font-size: .875rem; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0; }
.footer p { margin: 0; color: var(--muted); line-height: 1.6; }
.footer p span { margin-inline: 10px; color: #9a9ca3; }
.footer a { color: var(--accent); }
.footer-legal { flex-wrap: wrap; gap: 8px 28px; padding-bottom: 24px; }
.footer-legal a { padding-block: 8px; text-decoration: underline; }
.footer-legal a[aria-current="page"] { color: var(--ink); }
@media (min-width: 641px) {
  .page > .footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; padding-block: 24px; }
  .page > .footer .footer-main { display: contents; }
  .page > .footer .footer-main p { margin-right: auto; }
  .page > .footer .footer-legal { gap: 8px 24px; padding: 0; }
  .page > .footer .footer-legal a { min-height: 40px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
  .page > .footer .footer-legal a:hover { color: var(--accent); text-decoration: underline; }
  .page > .footer .footer-legal a[aria-current="page"] { color: var(--ink); }
}
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-160%); z-index: 2; }
.skip-link:focus { transform: translateY(0); }
.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; }
@media (max-width: 1000px) {
  :root { --section-space: 96px; --section-content-gap: 32px; --hero-end-space: 112px; }
  .page { padding-inline: 40px; }
  .hero { padding-top: 64px; }
  .story { gap: 40px; }
}
@media (max-width: 900px) {
  .desktop-nav, .header-actions { gap: 22px; }
}
@media (max-width: 640px) {
  :root { --section-space: 96px; --hero-end-space: 32px; }
  .page { padding-inline: 24px; }
  .header { min-height: 100px; gap: 20px; }
  .wordmark { font-size: 2.25rem; }
  .header-actions { gap: 12px; }
  .desktop-nav { display: none; }
  .header .contact-link { padding: 12px 16px; }
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Reserve the 100px header and a 72px preview of the approach panel. */
    min-height: calc(100svh - 100px - 72px);
    padding-top: 32px;
  }
  h1 { font-size: clamp(2.5rem, 9.2vw, 3.65rem); line-height: 1.08; }
  .hero-bottom { margin-top: 28px; }
  .intro { font-size: 1rem; }
  h3 { font-size: 1.875rem; margin-bottom: 10px; }
  .story { grid-template-columns: 1fr; gap: var(--section-content-gap); }
  .story h2 { font-size: 2.5rem; }
  .footer-main { flex-wrap: wrap; gap: 12px; padding-block: 24px; }
  .page > .footer { padding-block: 24px; }
  .page > .footer .footer-main { gap: 12px 16px; padding: 0 0 4px; }
  .page > .footer .footer-main > * { flex: 0 0 auto; white-space: nowrap; line-height: 1.6; }
  .page > .footer .footer-legal { gap: 8px 24px; padding: 0; }
  .page > .footer .footer-legal a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
  .page > .footer .footer-legal a:hover { color: var(--accent); text-decoration: underline; }
  .page > .footer .footer-legal a[aria-current="page"] { color: var(--ink); }
}
@media (max-width: 600px) {
  .portfolio h2, .team-heading h2 { font-size: 34px; }
}
@media (max-width: 380px) {
  .page { padding-inline: 20px; }
  h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Approach */
/* Final approach: Twin panels, selected from refinement 5. */
.approach {
  padding-block: 0 var(--section-space);
  text-align: center;
  font-size: 1rem;
  line-height: 1.55;
}
.approach h2, .approach h3, .approach p { margin: 0; }
.approach-panel { background: #eef2ff; border-radius: 14px; padding: 56px 42px 36px; }
.approach .approach-eyebrow {
  color: #506292;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.approach h2 {
  max-width: 990px;
  margin-inline: auto;
  font-size: clamp(36px, 3.9vw, 52px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.approach h2 span, .approach-lead span { color: var(--accent); }
.approach p { font-size: 16px; line-height: 1.65; color: #4d5b76; text-wrap: pretty; }
.approach strong { color: var(--ink); font-weight: 600; }
.approach-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1060px;
  margin: 40px auto 0;
  text-align: left;
}
.approach-card { min-width: 0; border-radius: 9px; background: #ffffffc9; padding: 30px 32px; }
.approach .approach-label {
  margin-bottom: 21px;
  color: #506292;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.approach .approach-lead {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.035em;
  color: var(--ink);
  text-wrap: balance;
}
.approach .approach-copy { margin-top: 20px; font-size: 16px; }
.approach + .portfolio { border-top: 0; padding-top: 0; }
@media (max-width: 1000px) {
  .approach-panel { padding-inline: 30px; }
  .approach-card { padding: 26px; }
  .approach .approach-lead { font-size: 24px; }
}
@media (max-width: 760px) {
  .approach-title-break { display: none; }
  .approach-panel { padding-inline: 26px; }
  .approach-cards { gap: 14px; }
  .approach-card { padding: 23px; }
  .approach .approach-lead { font-size: 22px; }
  .approach .approach-copy { font-size: 15px; }
}
@media (max-width: 600px) {
  .approach-panel { padding: 40px 20px 20px; border-radius: 10px; }
  .approach .approach-eyebrow { font-size: 10px; margin-bottom: 26px; }
  .approach h2 { font-size: clamp(29px, 7.3vw, 38px); line-height: 1.18; }
  .approach p { font-size: 15px; }
  .approach-cards { grid-template-columns: 1fr; gap: 15px; margin-top: 30px; }
  .approach-card { padding: 25px 23px; }
  .approach .approach-label { margin-bottom: 17px; }
  .approach .approach-lead { font-size: 23px; }
  .approach .approach-copy { margin-top: 17px; }
}
@media (max-width: 360px) {
  .approach-panel { padding-inline: 18px; }
  .approach-card { padding-inline: 17px; }
}
@media print {
  .approach-panel { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Portfolio */
@font-face {
  font-family: 'Luna Titan One';
  src: url('./fonts/titan-one.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.portfolio-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: var(--section-content-gap); }
.portfolio .eyebrow { margin: 0 0 16px; font-size: 11px; color: var(--muted); letter-spacing: .11em; }
.portfolio h2 span { color: var(--accent); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.portfolio-grid li { min-width: 0; }
.portfolio-card { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 345px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease; }
.portfolio-card-seven { background: #fcf0e9; }
.portfolio-card-luna { background: #f6e9ed; }
.portfolio-card-pezz { background: #eaf3f9; }
.portfolio-brand { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; height: 182px; }
.portfolio-logo { display: block; height: auto; object-fit: contain; }
.portfolio-logo-seven { width: 170px; filter: brightness(0); opacity: .84; }
.portfolio-logo-pezz { width: 132px; }
.portfolio-luna-logo { display: block; text-align: center; color: #0877b4; }
.portfolio-luna-logo > span { font: 400 56px/1 'Luna Titan One', Arial, sans-serif; letter-spacing: -1px; }
.portfolio-luna-logo small { display: block; margin-top: 4px; font-size: 9px; line-height: 1.4; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; }
.portfolio-copy { padding: 0 28px 12px; }
.portfolio-category { margin: 0 0 11px; font-size: 10px; line-height: 1.4; font-weight: 500; letter-spacing: .075em; text-transform: uppercase; color: #666671; }
.portfolio-description { margin: 0; max-width: 22ch; font-size: 19px; line-height: 1.5; letter-spacing: -.025em; text-wrap: balance; color: #262c36; }
.portfolio-visit { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 20px 28px 23px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.portfolio-visit svg { flex-shrink: 0; width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: #ffffffb3; color: var(--ink); transition: transform 180ms ease; }
.portfolio-card:hover { border-color: #a7b6e6; box-shadow: 0 8px 24px #1729560a; }
.portfolio-card:hover .portfolio-visit { color: var(--accent); }
.portfolio-card:hover .portfolio-visit svg { transform: translate(2px, -2px); }
.portfolio-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

@media (max-width: 1000px) {
  .portfolio-grid { gap: 18px; }
  .portfolio-copy, .portfolio-visit { padding-inline: 23px; }
  .portfolio-description { font-size: 17px; }
}
@media (min-width: 601px) and (max-width: 800px) {
  .portfolio-grid { gap: 14px; }
  .portfolio-card { min-height: 325px; }
  .portfolio-brand { height: 145px; }
  .portfolio-logo-seven { width: 130px; }
  .portfolio-logo-pezz { width: 104px; }
  .portfolio-luna-logo > span { font-size: 45px; }
  .portfolio-luna-logo small { font-size: 7px; }
  .portfolio-copy, .portfolio-visit { padding-inline: 18px; }
  .portfolio-description { font-size: 16px; }
  .portfolio-category { font-size: 9px; letter-spacing: .035em; }
  .portfolio-visit { font-size: 11px; }
}
@media (max-width: 600px) {
  .portfolio-heading { display: block; }
  .portfolio .eyebrow { margin-bottom: 12px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-card { min-height: 330px; }
  .portfolio-brand { height: 163px; }
  .portfolio-description { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-card, .portfolio-visit svg { transition: none; }
  .portfolio-card:hover .portfolio-visit svg { transform: none; }
}

/* Team */
/* Warm gallery with Natural flow spacing and original-color portraits. */
.team { --team-ink: #202222; --team-muted: #62635f; --team-line: #deded6; color: var(--team-ink); }
.team-panel { min-width: 0; background: #f5f4ef; border-radius: 12px; padding: 38px 32px 24px; }
.team-heading { text-align: center; margin-bottom: 32px; }
.team-eyebrow { margin: 0 0 12px; color: var(--team-muted); text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: .14em; line-height: 1.5; }
.team-heading h2 span, .team-roster-heading h3 span { color: var(--accent); }
.team-intro { margin: 12px 0 0; color: var(--team-muted); font-size: 14px; line-height: 1.65; }
.team-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; align-items: start; max-width: 560px; list-style: none; margin: 0 auto; padding: 0; }
.team-member { display: flex; flex-direction: column; min-width: 0; }
.team-photo-wrap { flex-shrink: 0; margin-bottom: 16px; border-radius: 6px; overflow: hidden; background: #eef0f2; }
.team-portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.team-member-copy { flex: 1; padding-inline: 1px; }
.team-member-heading { margin-bottom: 0; }
.team-member h3 { margin: 0; font-size: clamp(18px, 1.66vw, 22px); font-weight: 600; line-height: 1.28; letter-spacing: -.035em; }
.team-member h3 a, .team-roster-member h4 a { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; color: inherit; text-decoration: none; }
.team-member h3 a svg { flex-shrink: 0; width: 14px; height: 14px; margin-top: 5px; color: #6c716a; }
.team-member h3 a:hover, .team-roster-member h4 a:hover { color: var(--accent); }
.team-member a:focus-visible, .team-roster-member a:focus-visible { outline-offset: 4px; border-radius: 2px; }
.team-bio { margin: 9px 0 0; color: var(--team-muted); font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.team-director-role { margin: 4px 0 0; color: var(--accent); font-size: 13px; font-weight: 500; line-height: 1.45; }
.team-director-role span { display: inline-block; }

.team-more { margin-top: 28px; scroll-margin-top: 32px; }
.team-more > summary { display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 16px 0 0; border-top: 1px solid var(--team-line); list-style: none; cursor: pointer; }
.team-more > summary::-webkit-details-marker { display: none; }
.team-more > summary::marker { content: ''; }
.team-more > summary:focus-visible, .team-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.team-more > summary:hover .team-show, .team-more > summary:hover .team-hide { text-decoration: underline; text-underline-offset: .25em; }
.team-show, .team-hide { font-size: 14px; font-weight: 600; }
.team-hide, .team-more[open] .team-show { display: none; }
.team-more[open] .team-hide { display: inline; }
.team-toggle { flex-shrink: 0; width: 16px; height: 16px; transition: transform 160ms ease; }
.team-more[open] .team-toggle { transform: rotate(180deg); }
.team-roster { padding-top: 28px; }
.team-roster-heading { padding-bottom: 20px; }
.team-roster-heading h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.team-additional { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 0 30px; padding: 0; margin: 0; }
.team-roster-member { min-width: 0; padding: 20px 0; border-top: 1px solid var(--team-line); }
.team-roster-member h4 { margin: 0 0 10px; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.team-roster-member h4 svg { flex-shrink: 0; width: 13px; height: 13px; margin-top: 4px; color: var(--team-muted); }
.team-roster-member p { margin: 0; color: var(--team-muted); font-size: 14px; line-height: 1.65; }
.team-close { display: flex; align-items: center; gap: 12px; margin: 22px auto 0; padding: 10px 5px; border: 0; border-bottom: 1px solid var(--team-line); color: var(--team-ink); background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.team-close[hidden] { display: none; }

@media (max-width: 1100px) {
  .team-panel { padding-inline: 27px; }
  .team-featured { column-gap: 20px; }
  .team-member h3 { font-size: 19px; }
}
@media (max-width: 850px) {
  .team-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
  .team-member h3 { font-size: 22px; }
  .team-additional { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .team-panel { padding: 28px 20px 20px; border-radius: 10px; }
  .team-heading { margin-bottom: 28px; }
  .team-eyebrow { font-size: 9px; }
  .team-heading h2 { max-width: 15ch; margin-inline: auto; }
  .team-intro { font-size: 13px; }
  .team-featured { gap: 28px 16px; }
  .team-photo-wrap { margin-bottom: 12px; }
  .team-member h3 { font-size: 19px; }
  .team-member h3 a > span, .team-roster-member h4 a > span {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
  }
  .team-member h3 a svg, .team-roster-member h4 a svg { display: none; }
  .team-more { margin-top: 24px; }
  .team-show, .team-hide { font-size: 13px; }
  .team-roster-heading h3 { font-size: 24px; }
  .team-additional { grid-template-columns: 1fr; }
  .team-roster-member h4 { font-size: 17px; }
}
@media (max-width: 359px) {
  .team-panel { padding-inline: 18px; }
  .team-featured { grid-template-columns: 1fr; }
  .team-member h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-toggle { transition: none; }
}
@media print {
  .team-panel { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .team-close { display: none; }
}
