:root {
  --paper: #f4f3ef;
  --paper-bright: #fbfaf7;
  --ink: #101210;
  --muted: #6f726d;
  --line: rgba(16, 18, 16, 0.16);
  --green: #c7f36a;
  --green-deep: #89c719;
  --max: 1440px;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 18, 16, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 16, 0.018) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.page-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--paper);
  border-inline: 1px solid var(--line);
  overflow: clip;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 239, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
}

.brand-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.desktop-nav a,
.header-cta,
.text-link,
.contact-details a,
.footer-right a {
  transition: opacity 180ms ease;
}

.desktop-nav a:hover,
.header-cta:hover,
.text-link:hover,
.contact-details a:hover,
.footer-right a:hover {
  opacity: 0.55;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.menu-button,
.mobile-nav {
  display: none;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
}

.hero {
  min-height: 742px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  min-width: 0;
  padding: 72px 54px 54px;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow,
.section-index,
.project-type,
.project-role,
.service-card-top,
.booking-header,
.booking-note {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 112px;
}

.eyebrow::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--green-deep);
  content: "";
}

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

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 46px;
  font-size: clamp(54px, 6.2vw, 94px);
}

h1 em,
h2 em {
  color: var(--green-deep);
  font-style: normal;
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 44px;
  color: #3d403b;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
}

.button-primary:hover {
  color: var(--paper-bright);
  background: var(--ink);
}

.text-link {
  display: inline-flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.portrait-panel {
  position: relative;
  min-height: 742px;
  overflow: hidden;
  background: #060706;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04);
}

.portrait-panel::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 20%, transparent 75%, rgba(0, 0, 0, 0.72));
  content: "";
  pointer-events: none;
}

.portrait-meta {
  position: absolute;
  z-index: 3;
  right: 26px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.portrait-meta-top {
  top: 24px;
}

.portrait-meta-bottom {
  bottom: 24px;
}

.portrait-scan {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(199, 243, 106, 0.5);
  opacity: 0.7;
  animation: scan 8s ease-in-out infinite;
}

@keyframes scan {
  0%, 12% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.7; }
  75% { opacity: 0.42; }
  88%, 100% { transform: translateY(742px); opacity: 0; }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.proof-strip article {
  display: flex;
  min-height: 148px;
  padding: 25px 28px;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.proof-strip article:last-child {
  border-right: 0;
}

.proof-value {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.proof-label {
  max-width: 170px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-pad {
  padding: 110px 54px;
  border-bottom: 1px solid var(--line);
}

.statement {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
}

.section-index {
  padding-top: 8px;
  color: var(--muted);
}

.statement-lead {
  max-width: 920px;
  margin-bottom: 60px;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.statement-columns {
  display: grid;
  max-width: 900px;
  grid-template-columns: repeat(2, 1fr);
  gap: 54px;
}

.statement-columns p {
  margin-bottom: 0;
  color: #444741;
  font-size: 17px;
}

.section-heading {
  display: grid;
  margin-bottom: 78px;
  grid-template-columns: 0.42fr 1.58fr;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
}

.project-list {
  border-top: 1px solid var(--line);
}

.project {
  display: grid;
  min-height: 184px;
  padding: 28px 0;
  grid-template-columns: 0.12fr 0.75fr 0.38fr 0.75fr;
  align-items: start;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background 220ms ease;
}

.project:hover {
  margin-inline: -20px;
  padding-inline: 20px;
  background: var(--paper-bright);
}

.project-number {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.project-title h3 {
  margin: 14px 0 0;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.project-logo-heading {
  display: flex;
  min-height: 56px;
  align-items: center;
}

.project-logo-link {
  display: inline-flex;
  align-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-logo-link:hover,
.project-logo-link:focus-visible {
  opacity: 0.6;
  transform: translateY(-1px);
}

.project-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo-fantom { height: 55px; }
.logo-mero { height: 49px; }
.logo-bunyan { height: 58px; }
.logo-sfxdx { height: 36px; }

.project-type,
.project-role {
  color: var(--muted);
}

.project-description {
  max-width: 390px;
  margin: 0;
  color: #434640;
  font-size: 15px;
}

.services {
  background: #e9e8e2;
}

.services-heading {
  grid-template-columns: 0.42fr 1fr 0.58fr;
  gap: 36px;
}

.services-heading p {
  align-self: end;
  margin: 0;
  color: #555852;
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  display: flex;
  min-height: 570px;
  padding: 30px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-bright);
}

.service-card-dark {
  color: var(--paper-bright);
  background: var(--ink);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.service-card-dark .service-card-top {
  color: #9b9e97;
}

.service-card h3 {
  margin: 72px 0 26px;
  font-size: clamp(38px, 4.8vw, 66px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.service-card > p {
  max-width: 500px;
  color: #5b5e58;
}

.service-card-dark > p {
  color: #aeb0aa;
}

.service-card ul {
  margin: 22px 0 42px;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: #444741;
  font-family: var(--mono);
  font-size: 11px;
}

.service-card-dark li {
  border-color: rgba(255, 255, 255, 0.18);
  color: #c7c9c3;
}

.service-card li::before {
  margin-right: 12px;
  color: var(--green-deep);
  content: "+";
}

.service-link {
  display: flex;
  margin-top: auto;
  padding-top: 18px;
  justify-content: space-between;
  border-top: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.service-link:hover span {
  transform: translate(2px, -2px);
}

.service-link span {
  transition: transform 180ms ease;
}

.method {
  color: var(--paper-bright);
  background: var(--ink);
}

.method .section-index {
  color: #858881;
}

.method-heading {
  margin-bottom: 100px;
}

.method-flow {
  display: grid;
  grid-template-columns: 1fr 100px 1fr 100px 1fr;
  align-items: start;
}

.method-flow article > span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}

.method-flow h3 {
  margin: 26px 0 20px;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.method-flow p {
  max-width: 280px;
  margin: 0;
  color: #a6a9a2;
  font-size: 14px;
}

.method-connector {
  height: 1px;
  margin-top: 11px;
  background: linear-gradient(90deg, var(--green), rgba(199, 243, 106, 0.08));
}

.contact {
  min-height: 760px;
  border-bottom: 1px solid var(--line);
}

.contact-copy {
  display: flex;
  padding: 90px 54px 54px;
  flex-direction: column;
}

.contact-copy h2 {
  margin: 90px 0 42px;
  font-size: clamp(50px, 6.3vw, 88px);
}

.contact-copy > p {
  max-width: 580px;
  color: #464943;
  font-size: 18px;
}

.contact-details {
  display: flex;
  margin-top: auto;
  gap: 34px;
  font-family: var(--mono);
  font-size: 11px;
}

.contact-details a[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

.booking-panel {
  display: flex;
  padding: 34px;
  flex-direction: column;
  border-left: 1px solid var(--line);
  background: var(--paper-bright);
}

.booking-header {
  display: flex;
  padding-bottom: 22px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.booking-topics {
  display: flex;
  padding: 20px 0;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-topics button {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 13px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(16, 18, 16, 0.36);
  border-radius: 0;
  color: #2f322d;
  background: #f6f5f1;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.booking-topics button::before {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.booking-topics button:hover,
.booking-topics button.is-active {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--green);
}

.booking-topics button:hover {
  transform: translateY(-1px);
}

.booking-topics button.is-active::before {
  border-color: var(--ink);
  background: var(--ink);
}

.booking-topics button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.calendly-container {
  display: grid;
  min-height: 500px;
  flex: 1;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(16, 18, 16, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 18, 16, 0.028) 1px, transparent 1px),
    #f1f0eb;
  background-size: 40px 40px;
}

.calendly-container.is-live {
  display: block;
  flex: none;
  width: 100%;
  min-width: 0;
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.calendly-container.is-live iframe {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  background: var(--paper-bright);
}

.calendar-placeholder {
  max-width: 350px;
  padding: 36px;
  text-align: center;
}

.calendar-placeholder h3 {
  margin: 24px 0 14px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.calendar-placeholder p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.calendar-icon {
  display: grid;
  width: 178px;
  margin: 0 auto;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-icon span {
  display: block;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--paper-bright);
}

.calendar-icon span:nth-child(5) {
  border-color: var(--ink);
  background: var(--green);
}

.booking-note {
  margin: 16px 0 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  min-height: 140px;
  padding: 32px;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
}

.site-footer p,
.footer-right {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.site-footer p {
  justify-self: center;
  text-align: center;
}

.footer-right {
  display: flex;
  justify-self: end;
  gap: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .portrait-scan { display: none; }
}

@media (max-width: 1050px) {
  .hero-copy,
  .section-pad,
  .contact-copy { padding-inline: 32px; }
  .hero { min-height: 650px; }
  .portrait-panel { min-height: 650px; }
  .eyebrow { margin-bottom: 72px; }
  .project { grid-template-columns: 0.12fr 0.62fr 0.38fr 0.88fr; }
  .service-card { min-height: 520px; }
  .method-flow { grid-template-columns: 1fr 55px 1fr 55px 1fr; }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding-inline: 20px;
  }
  .desktop-nav,
  .header-cta { display: none; }
  .menu-button {
    display: flex;
    width: 34px;
    height: 34px;
    padding: 8px 4px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
  }
  .menu-button span {
    width: 26px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav {
    position: fixed;
    z-index: 19;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
  }
  .section-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; }
  .portrait-panel { min-height: 720px; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip article:nth-child(2) { border-right: 0; }
  .proof-strip article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .statement,
  .section-heading,
  .services-heading { grid-template-columns: 1fr; }
  .section-index { margin-bottom: 50px; }
  .section-heading { gap: 0; }
  .section-heading h2 { font-size: clamp(46px, 11vw, 72px); }
  .services-heading p { max-width: 520px; margin-top: 38px; }
  .project {
    grid-template-columns: 44px 1fr;
    gap: 14px 0;
  }
  .project-role,
  .project-description { grid-column: 2; }
  .service-grid { grid-template-columns: 1fr; }
  .method-flow { grid-template-columns: 1fr; gap: 38px; }
  .method-connector { display: none; }
  .method-flow article { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .booking-panel { min-height: 0; border-top: 1px solid var(--line); border-left: 0; }
  .calendly-container { min-height: 600px; overflow: hidden; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 36px; }
  .site-footer p { display: none; }
}

@media (max-width: 560px) {
  .brand-name { display: none; }
  .hero-copy { min-height: 610px; padding: 44px 22px 32px; }
  .eyebrow { margin-bottom: 50px; font-size: 9px; }
  h1 { font-size: clamp(48px, 14.5vw, 66px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .portrait-panel { min-height: 540px; }
  .portrait-panel img { object-position: center top; }
  .proof-strip article { min-height: 128px; padding: 20px; }
  .proof-value { font-size: 34px; }
  .section-pad { padding: 78px 22px; }
  .statement-columns { grid-template-columns: 1fr; gap: 20px; }
  .statement-lead { margin-bottom: 44px; font-size: 33px; }
  .section-heading { margin-bottom: 54px; }
  .section-heading h2 { font-size: 45px; }
  .project { min-height: 0; padding: 24px 0; }
  .project:hover { margin-inline: 0; padding-inline: 0; background: transparent; }
  .project-title h3 { font-size: 34px; }
  .project-description { font-size: 14px; }
  .service-card { min-height: 540px; padding: 24px; }
  .service-card h3 { margin-top: 54px; font-size: 45px; }
  .contact-copy { min-height: 650px; padding: 74px 22px 34px; }
  .contact-copy h2 { margin-top: 48px; font-size: 51px; }
  .contact-details { flex-direction: column; gap: 15px; }
  .booking-panel { min-height: 0; padding: 22px 14px; }
  .booking-header { gap: 10px; flex-direction: column; }
  .calendly-container { min-height: 600px; }
  .calendar-placeholder { padding: 24px; }
  .site-footer { padding: 24px 20px; grid-template-columns: 1fr; }
  .footer-right { justify-self: start; }
}
