:root {
  --ink: #13251f;
  --forest: #0b3b2f;
  --green: #176f55;
  --lime: #c8ef9a;
  --cream: #f4f0e8;
  --white: #fff;
  --muted: #66736e;
  --line: rgba(19, 37, 31, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.65 "DM Sans", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); background: rgba(244, 240, 232, .93); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-family: Manrope, sans-serif; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { padding: 5px 10px 4px; background: var(--forest); color: var(--lime); font-size: 24px; line-height: 1; }
.brand-copy { margin-left: 8px; font-size: 15px; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.site-nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--green); }
.site-nav .nav-cta { padding: 10px 18px; border: 1px solid var(--ink); }
.menu-button { display: none; border: 0; background: transparent; font: 700 15px Manrope, sans-serif; }

.hero { height: clamp(660px, calc(100vh - 88px), 780px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(500px, .95fr); overflow: hidden; }
.hero-copy { padding: clamp(44px, 4vw, 66px) clamp(24px, 5vw, 84px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow, .section-label { margin: 0 0 22px; color: var(--green); font: 700 12px Manrope, sans-serif; letter-spacing: .17em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Manrope, sans-serif; line-height: 1.06; letter-spacing: -.055em; }
h1 { max-width: 900px; font-size: clamp(52px, 4.2vw, 76px); }
.headline-line { display: block; white-space: nowrap; }
.headline-line.accent { color: var(--green); }
h2 { font-size: clamp(38px, 4.5vw, 68px); }
.hero-intro { max-width: 610px; margin: 24px 0; color: #4f5c57; font-size: clamp(17px, 1.25vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 12px 22px; text-decoration: none; font: 700 14px Manrope, sans-serif; transition: .2s ease; }
.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { background: var(--green); transform: translateY(-2px); }
.button-secondary { border: 1px solid var(--line); background: rgba(255, 255, 255, .35); }
.button-secondary:hover { border-color: var(--ink); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: clamp(28px, 3.5vw, 46px) 0 0; }
.hero-stats div { padding-top: 18px; border-top: 1px solid var(--line); }
.hero-stats dt { font: 800 clamp(24px, 2.3vw, 36px) Manrope, sans-serif; letter-spacing: -.04em; }
.hero-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.hero-visual { min-height: 0; position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 20px 14px 0; background: var(--lime); }
.hero-visual::before { content: ""; position: absolute; inset: 8% 8% 18%; border: 1px solid rgba(11, 59, 47, .22); border-radius: 50%; }
.hero-image-wrap { width: min(112%, 900px); position: relative; z-index: 1; transform: translateY(7%); }
.hero-image-wrap img { width: 100%; height: auto; }
.hero-note { position: absolute; z-index: 2; right: 0; bottom: 0; width: min(66%, 430px); padding: 22px 28px; background: var(--forest); color: var(--white); font-weight: 600; }

.section { padding: clamp(82px, 10vw, 150px) clamp(24px, 7vw, 110px); }
.about-grid { display: grid; grid-template-columns: 1.1fr .7fr; gap: clamp(48px, 9vw, 150px); align-items: start; }
.body-copy, .experience-copy { color: #4c5c55; font-size: clamp(18px, 1.4vw, 21px); }
.body-copy p:first-child, .experience-copy p:first-of-type { margin-top: 0; }

.system-section { padding: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--forest); color: var(--white); }
.system-image { min-height: 760px; }
.system-image img { width: 100%; height: 100%; object-fit: cover; }
.system-copy { padding: clamp(70px, 8vw, 130px); align-self: center; }
.eyebrow.light { color: var(--lime); }
.system-copy > p:not(.eyebrow) { margin: 30px 0 42px; color: rgba(255,255,255,.72); font-size: 18px; }
.system-copy ol { margin: 0; padding: 0; list-style: none; }
.system-copy li { display: flex; gap: 22px; padding: 21px 0; border-top: 1px solid rgba(255,255,255,.18); }
.system-copy li > span { color: var(--lime); font: 700 13px Manrope, sans-serif; }
.system-copy strong, .system-copy small { display: block; }
.system-copy strong { font: 700 19px Manrope, sans-serif; }
.system-copy small { margin-top: 5px; color: rgba(255,255,255,.62); font-size: 14px; }

.experience { display: grid; grid-template-columns: minmax(280px, .78fr) 1fr; gap: clamp(50px, 10vw, 160px); align-items: center; }
.portrait-card { max-height: 720px; overflow: hidden; background: #d8d4cd; }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.experience-copy h2 { margin-bottom: 32px; color: var(--ink); }
.experience-copy blockquote { margin: 34px 0 6px; padding: 22px 0 22px 24px; border-left: 4px solid var(--green); color: var(--ink); font: 700 clamp(22px, 2vw, 30px)/1.28 Manrope, sans-serif; letter-spacing: -.03em; }
.text-link { display: inline-flex; gap: 12px; margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 700; }

.section-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(44px, 9vw, 140px); align-items: end; margin-bottom: 54px; }
.section-heading > p { max-width: 540px; margin: 0; color: var(--muted); font-size: 18px; }
.projects { background: #e8e3da; }
.project-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 18vw, 290px); gap: 12px; }
.project-image { overflow: hidden; background: #d5d0c7; }
.project-image-main { grid-column: span 2; grid-row: span 2; }
.project-image-wide { grid-column: 1 / -1; grid-row: span 2; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-image:hover img { transform: scale(1.025); }
.development-feature-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin: clamp(58px, 7vw, 96px) 0 26px; }
.development-feature-heading span { color: var(--green); font: 700 11px Manrope, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.development-feature-heading h3 { margin: 10px 0 0; font: 700 clamp(30px, 3.2vw, 50px)/1.08 Manrope, sans-serif; letter-spacing: -.045em; }
.development-feature-heading .text-link { margin: 0; flex: 0 0 auto; }
.single-development-image { display: block; max-width: 1000px; margin: 0 auto; overflow: hidden; background: #d5d0c7; }
.single-development-image img { width: 100%; height: auto; transition: transform .4s ease; }
.single-development-image:hover img { transform: scale(1.02); }
.jamieson-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.jamieson-gallery a { aspect-ratio: 4 / 3; overflow: hidden; background: #d5d0c7; }
.jamieson-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.jamieson-gallery a:hover img { transform: scale(1.035); }
.development-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.development-video-card { min-width: 0; background: var(--forest); color: var(--white); }
.development-video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #061d17; }
.development-video-card-copy { padding: clamp(24px, 3vw, 38px); }
.development-video-card-copy > span { color: var(--lime); font: 700 11px Manrope, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.development-video-card-copy h3 { margin: 12px 0 20px; font: 700 clamp(25px, 2.3vw, 36px)/1.08 Manrope, sans-serif; letter-spacing: -.04em; }
.development-video-card-copy .text-link { color: var(--white); border-color: rgba(255,255,255,.55); }
.development-video { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); margin-top: 12px; background: var(--forest); color: var(--white); }
.development-video video { width: 100%; height: 100%; min-height: 480px; display: block; object-fit: cover; background: #061d17; }
.development-video-copy { align-self: center; padding: clamp(38px, 5vw, 74px); }
.development-video-copy > span { color: var(--lime); font: 700 11px Manrope, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.development-video-copy h3 { margin: 20px 0; font: 700 clamp(30px, 3vw, 48px)/1.08 Manrope, sans-serif; letter-spacing: -.045em; }
.development-video-copy p { color: rgba(255,255,255,.72); font-size: 17px; }
.development-video-copy .text-link { color: var(--white); border-color: rgba(255,255,255,.55); }

.blog-section { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.blog-card { display: flex; flex-direction: column; min-height: 520px; color: inherit; background: var(--cream); text-decoration: none; overflow: hidden; }
.blog-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.blog-card:nth-child(2) img { object-position: left center; }
.blog-card-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 42px); }
.blog-card-copy span { color: var(--green); font: 700 11px Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.blog-card h3 { margin: 22px 0; font: 700 clamp(22px, 1.7vw, 29px)/1.2 Manrope, sans-serif; letter-spacing: -.035em; }
.blog-card b { margin-top: auto; font-size: 13px; }
.blog-card:hover { background: var(--lime); }

.youtube-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 120px); align-items: center; background: var(--forest); color: var(--white); }
.youtube-copy > p:not(.section-label) { margin: 30px 0; color: rgba(255,255,255,.7); font-size: 18px; }
.youtube-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button-lime { color: var(--forest); background: var(--lime); }
.button-lime:hover { background: var(--white); transform: translateY(-2px); }
.light-link { margin: 0; border-color: rgba(255,255,255,.5); color: var(--white); }
.video-preview { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; color: var(--white); background: #071f18; box-shadow: 0 24px 70px rgba(0,0,0,.26); text-decoration: none; }
.video-preview img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: transform .45s ease; }
.video-preview:hover img { transform: scale(1.025); }
.video-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,25,19,.08), rgba(4,25,19,.45)); }
.play-button { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; display: grid; place-items: center; padding-left: 6px; border-radius: 50%; transform: translate(-50%,-50%); background: var(--lime); color: var(--forest); font-size: 28px; box-shadow: 0 12px 34px rgba(0,0,0,.28); transition: transform .2s ease, background .2s ease; }
.video-preview:hover .play-button { transform: translate(-50%,-50%) scale(1.08); background: var(--white); }
.video-label { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.video-label b { font: 700 clamp(22px, 2vw, 32px) Manrope, sans-serif; }
.video-label small { color: rgba(255,255,255,.82); font-weight: 600; }

.podcasts { padding-top: 24px; }
.podcast-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: clamp(44px, 9vw, 140px); align-items: end; margin-bottom: 54px; }
.podcast-heading > p { max-width: 540px; margin: 0; color: var(--muted); font-size: 18px; }
.podcast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.podcast-card { min-height: 320px; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 46px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, color .2s ease, transform .2s ease; }
.podcast-card.featured { background: var(--lime); }
.podcast-card:hover { position: relative; z-index: 1; background: var(--forest); color: var(--white); transform: translateY(-4px); }
.podcast-kicker { color: var(--green); font: 700 11px Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.podcast-card:hover .podcast-kicker { color: var(--lime); }
.podcast-card strong { max-width: 620px; margin: 30px 0; font: 700 clamp(25px, 2vw, 36px)/1.15 Manrope, sans-serif; letter-spacing: -.035em; }
.podcast-card audio { width: 100%; height: 38px; margin: auto 0 22px; accent-color: var(--green); }
.podcast-meta { color: var(--muted); font-size: 14px; text-decoration: none; }
.podcast-card:hover .podcast-meta { color: rgba(255,255,255,.72); }
.podcast-meta b { float: right; color: currentColor; font-size: 20px; }

.social-callout { padding: clamp(70px, 8vw, 110px) 24px; text-align: center; background: var(--lime); }
.social-callout h2 { max-width: 850px; margin: 0 auto 34px; }

.contact-panel { margin: 0 clamp(16px, 4vw, 64px) clamp(16px, 4vw, 64px); padding: clamp(68px, 9vw, 130px) clamp(24px, 7vw, 110px); text-align: center; background: var(--green); color: var(--white); }
.contact-panel h2 { max-width: 920px; margin: 0 auto 44px; }
.button-white { background: var(--white); color: var(--forest); }
.button-white:hover { background: var(--lime); transform: translateY(-2px); }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 42px clamp(24px, 5vw, 76px); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); }
.footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
.footer-social a { text-decoration: none; font-weight: 600; }
.footer-social a:hover { color: var(--green); }

@media (max-width: 900px) {
  .site-header { height: 74px; }
  .menu-button { display: block; cursor: pointer; }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 28px; flex-direction: column; align-items: stretch; gap: 20px; background: var(--cream); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
  .hero, .about-grid, .system-section, .experience { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: auto; }
  .hero-visual { min-height: 520px; }
  .system-image { min-height: 480px; }
  .system-copy { padding: 72px 28px; }
  .experience { gap: 52px; }
  .portrait-card { max-width: 600px; }
  .podcast-heading, .section-heading, .youtube-section { grid-template-columns: 1fr; gap: 34px; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .development-feature-heading { align-items: flex-start; flex-direction: column; }
  .jamieson-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .development-video-grid { grid-template-columns: 1fr; }
  .development-video { grid-template-columns: 1fr; }
  .development-video video { min-height: 0; aspect-ratio: 16 / 9; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card { min-height: 500px; }
  .podcast-grid { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 560px) {
  .brand-mark { font-size: 20px; }
  .brand-copy { font-size: 12px; }
  h1 { font-size: 48px; }
  .headline-line { white-space: normal; }
  h2 { font-size: 38px; }
  .hero-copy { padding-top: 64px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; padding: 32px 20px 48px; }
  .hero-note { width: 78%; padding: 18px; font-size: 13px; }
  .system-image { min-height: 320px; }
  .contact-panel { margin: 0 12px 12px; }
  .button-white { font-size: 12px; }
  .podcast-grid { grid-template-columns: 1fr; }
  .podcast-card { min-height: 250px; }
  .project-gallery, .blog-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-auto-rows: 260px; }
  .project-image-main { grid-column: auto; grid-row: auto; }
  .project-image-wide { grid-column: auto; grid-row: auto; }
  .jamieson-gallery { grid-template-columns: 1fr; }
  .blog-card { min-height: 0; }
  .play-button { width: 64px; height: 64px; font-size: 21px; }
  .video-label { left: 18px; right: 18px; bottom: 16px; }
  .video-label small { display: none; }
}

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