:root {
  --ink: #10231f;
  --muted: #62706b;
  --paper: #f8f6ef;
  --white: #ffffff;
  --line: #dde4da;
  --navy: #172f73;
  --teal: #245e59;
  --green: #6fa36b;
  --mint: #dcefd7;
  --gold: #c8963f;
  --shadow: 0 22px 54px rgba(16, 35, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(248, 246, 239, 0.9);
  border-bottom: 1px solid rgba(16, 35, 31, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 50px;
  height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.2) 0 50%, transparent 50%),
    linear-gradient(135deg, var(--navy), var(--teal) 52%, var(--green));
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(23, 47, 115, 0.18);
  transform: rotate(45deg);
}

.brand-mark span,
.brand-mark small {
  position: relative;
  z-index: 1;
  transform: rotate(-45deg);
}

.brand-mark span {
  font-size: 14px;
}

.brand-mark small {
  margin: -9px -2px 0;
  font-size: 10px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy span {
  font-weight: 800;
  font-size: 18px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #263b36;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(111, 163, 107, 0.14);
}

.nav-links .nav-cta {
  color: var(--white);
  background: var(--ink);
}

.menu-toggle {
  display: none;
}

.section-pad {
  padding: clamp(70px, 8vw, 112px) clamp(20px, 5vw, 64px);
}

.hero {
  min-height: min(700px, calc(100vh - 85px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(30px, 4vw, 56px);
  padding-top: clamp(36px, 6vw, 72px);
}

.hero-copy {
  max-width: 650px;
  text-align: center;
}

.hero-copy .eyebrow {
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 4.6vw, 58px);
  max-width: 620px;
  margin-inline: auto;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 64px);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

.hero-text,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-text {
  max-width: 540px;
  margin-bottom: 32px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(16px, 1.7vw, 18px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.55);
}

.hero-image {
  position: relative;
  width: min(100%, 370px);
  min-height: 390px;
  justify-self: center;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 246, 239, 0.05), rgba(248, 246, 239, 0));
  pointer-events: none;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.48);
}

.proof-bar div {
  display: grid;
  gap: 4px;
  padding: 28px clamp(20px, 5vw, 64px);
  text-align: center;
  border-right: 1px solid var(--line);
}

.proof-bar div:last-child {
  border-right: 0;
}

.proof-bar strong {
  font-size: clamp(24px, 3vw, 34px);
}

.proof-bar span {
  color: var(--muted);
  font-weight: 600;
}

.section-heading {
  max-width: 820px;
}

.compact-heading {
  max-width: 760px;
}

.compact-heading h2 {
  font-size: clamp(32px, 4.2vw, 54px);
}

.compact-heading p:last-child {
  max-width: 680px;
  margin-inline: auto;
  font-size: clamp(15px, 1.5vw, 18px);
}

.interaction-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.intro {
  padding-bottom: clamp(40px, 6vw, 80px);
}

.focus {
  background: var(--white);
}

.focus-layout {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: stretch;
  max-width: 1060px;
  margin: 34px auto 0;
}

.focus-list {
  display: grid;
  gap: 8px;
}

.focus-item {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(248, 249, 245, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.focus-item span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--mint);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.focus-item.active,
.focus-item:hover {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.focus-item.active span,
.focus-item:hover span {
  color: var(--ink);
  background: var(--mint);
}

.focus-panel {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(200, 150, 63, 0.14), transparent 48%),
    var(--ink);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 35, 31, 0.12);
}

.panel-kicker {
  margin-bottom: 18px;
  color: var(--mint);
  font-weight: 800;
}

.focus-panel p:last-child {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 0;
  color: rgba(255,255,255,0.8);
  font-size: clamp(15px, 1.8vw, 19px);
}

.case-study {
  background: linear-gradient(180deg, var(--white) 0 50%, var(--paper) 50% 100%);
}

.case-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px);
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
}

.case-card .eyebrow {
  color: var(--mint);
}

.case-card h2 {
  max-width: 650px;
  margin-inline: auto;
  font-size: clamp(28px, 3.5vw, 40px);
}

.case-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.25fr;
  gap: 0;
  margin-top: 24px;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.case-grid article {
  min-height: 128px;
  padding: 22px 18px;
  background: var(--ink);
  border-right: 1px solid rgba(255,255,255,0.18);
}

.case-grid article:last-child {
  border-right: 0;
}

.case-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-grid p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  max-width: 330px;
  margin-inline: auto;
  font-size: 15px;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 34px auto 0;
  border-top: 0;
  background: transparent;
}

.work-grid a {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.work-grid a:first-child {
  grid-column: 2;
  grid-row: span 5;
  min-height: 340px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(16, 35, 31, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(220, 239, 215, 0.12), transparent 45%),
    var(--teal);
  color: var(--white);
  text-align: center;
  box-shadow: 0 18px 42px rgba(16, 35, 31, 0.1);
}

.work-grid a:not(:first-child) {
  grid-column: 1;
}

.work-grid a:hover {
  background: var(--white);
  color: var(--teal);
  border-color: var(--line);
  transform: translateX(4px);
}

.work-grid a:first-child:hover {
  background:
    linear-gradient(135deg, rgba(220, 239, 215, 0.18), transparent 45%),
    var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.work-title {
  font-size: 16px;
  font-weight: 800;
}

.work-grid a:first-child .work-title {
  max-width: 260px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.02;
}

.work-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.work-grid a:first-child p {
  max-width: 300px;
  color: rgba(255,255,255,0.78);
  font-size: 15px;
}

.work-showcase {
  max-width: 1120px;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
  margin: 34px auto 0;
}

.resource-list {
  display: grid;
  gap: 0;
  padding-top: 8px;
}

.resource-kicker {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-item {
  display: grid;
  gap: 5px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.resource-list span {
  font-weight: 850;
}

.resource-list small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.deck-player {
  overflow: hidden;
  border: 1px solid rgba(16, 35, 31, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(16, 35, 31, 0.12);
}

.deck-player:hover .deck-frame,
.deck-player:hover .deck-frame * {
  cursor: none;
}

.deck-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.deck-kicker {
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deck-header h3 {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.2;
}

.deck-header span {
  min-width: max-content;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.deck-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(220, 239, 215, 0.28), transparent 45%),
    #eef3ed;
}

.deck-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f7f7f4;
  box-shadow: 0 10px 24px rgba(16, 35, 31, 0.1);
  transition: opacity 260ms ease, transform 260ms ease;
}

.deck-frame img.is-changing {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.deck-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px 8px;
}

.deck-controls button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fbfcf8;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.deck-controls button:hover {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.deck-progress {
  height: 4px;
  margin: 8px 16px 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eee6;
}

.deck-progress span {
  width: 0%;
  height: 100%;
  display: block;
  background: var(--teal);
  transition: width 260ms ease;
}

.deck-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 16px;
  scroll-padding-inline: 16px;
}

.deck-thumbs button {
  width: 74px;
  height: 44px;
  flex: 0 0 74px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  opacity: 0.62;
}

.deck-thumbs button.active {
  border-color: var(--teal);
  opacity: 1;
}

.deck-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  padding-top: 48px;
}

.contact-panel {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 38px) clamp(24px, 4vw, 46px);
  align-items: start;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-intro {
  display: grid;
  justify-items: center;
  grid-column: 1 / -1;
  text-align: center;
}

.contact-photo {
  width: min(100%, 300px);
  justify-self: center;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 18px 34px rgba(16, 35, 31, 0.14);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  object-position: center;
  background: #050505;
}

.contact-intro h2 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.03;
}

.contact-intro p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.contact-copy {
  padding-top: 4px;
}

.booking-block {
  scroll-margin-top: 112px;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 18px;
}

.contact-list a:first-child {
  grid-column: auto;
}

.contact-list a {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfcf8;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
  overflow: hidden;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-list a > span:last-child {
  min-width: 0;
}

.contact-list a:hover {
  color: var(--teal);
  background: var(--white);
  border-color: rgba(36, 94, 89, 0.3);
}

.contact-list small {
  display: block;
  margin-bottom: 1px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--mint);
  border-radius: 999px;
}

.mail-icon {
  color: var(--navy);
  background: var(--mint);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 18px auto;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcf8;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
}

.contact-form input {
  height: 44px;
  padding: 0 13px;
}

.contact-form textarea {
  min-height: 104px;
  resize: vertical;
  padding: 12px 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(36, 94, 89, 0.1);
}

.contact-actions {
  justify-content: center;
  padding-top: 4px;
}

.contact-actions .button {
  min-width: 172px;
  border-color: var(--teal);
}

.contact-actions .button.primary {
  background: var(--teal);
}

.contact-actions .button.secondary {
  color: var(--teal);
  background: var(--white);
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 26px 20px 40px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero,
  .focus-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-text,
  .hero-actions {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-image,
  .hero-image img {
    min-height: 360px;
  }

  .hero-image img {
    object-position: 34% center;
  }

  .proof-bar,
  .case-grid,
  .work-grid,
  .work-showcase {
    grid-template-columns: 1fr;
  }

  .deck-player {
    order: -1;
  }

  .work-grid a:nth-child(odd) {
    border-right: 0;
  }

  .work-grid a:hover,
  .work-grid a:first-child:hover {
    transform: none;
  }

  .work-grid a:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .work-grid a:not(:first-child) {
    grid-column: auto;
  }

  .deck-frame {
    min-height: 260px;
  }

  .contact-panel {
    max-width: 720px;
  }

  .contact-copy {
    padding-top: 0;
  }

  .proof-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-bar div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    width: 46px;
    height: 42px;
    display: grid;
    gap: 5px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--ink);
  }

  .nav-links {
    position: fixed;
    inset: 75px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
    min-height: 50px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 62px);
  }

  h2 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .section-pad {
    padding: 64px 18px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-image,
  .hero-image img {
    min-height: 390px;
  }

  .button {
    width: 100%;
  }

  .focus-panel {
    min-height: auto;
    text-align: center;
  }

  .case-grid article,
  .work-grid a {
    min-height: auto;
  }

  .case-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }

  .case-grid article:last-child {
    border-bottom: 0;
  }

  .contact-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-list a {
    word-break: break-word;
  }

  .deck-header,
  .deck-controls {
    flex-wrap: wrap;
  }

  .deck-thumbs button {
    width: 66px;
    height: 40px;
    flex-basis: 66px;
  }

  .contact-photo {
    width: min(100%, 240px);
  }

  .contact-list a {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .brand-copy span {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 11px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-image,
  .hero-image img {
    min-height: 300px;
  }
}
