:root {
  --ink: #17201b;
  --muted-ink: #526057;
  --paper: #f7f3ea;
  --paper-deep: #eee6d7;
  --moss: #546c45;
  --fern: #263c2f;
  --saffron: #cb8a42;
  --clay: #9f5f45;
  --line: rgba(23, 32, 27, 0.14);
  --shadow: 0 24px 80px rgba(18, 26, 20, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 16, 12, 0.78), rgba(10, 16, 12, 0));
}

.brand,
.nav,
.header-cta,
.button,
.text-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 10px;
  background: #070b2f;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav a,
.header-cta {
  opacity: 0.88;
}

.nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 74px) 80px;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 15, 11, 0.92) 0%, rgba(8, 15, 11, 0.68) 38%, rgba(8, 15, 11, 0.24) 72%),
    linear-gradient(0deg, rgba(8, 15, 11, 0.72), rgba(8, 15, 11, 0.08) 48%);
}

.hero-content {
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: #edbd7f;
}

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

h1,
h2 {
  font-family: Newsreader, Georgia, serif;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 132px;
  line-height: 0.86;
}

h2 {
  margin-bottom: 18px;
  font-size: 62px;
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

p {
  color: var(--muted-ink);
  font-size: 17px;
  line-height: 1.72;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 26px;
  line-height: 1.45;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #111912;
  background: #f2c481;
}

.button.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.dark {
  color: var(--fern);
  border-color: rgba(38, 60, 47, 0.25);
}

.button.light {
  color: #fffaf1;
  border-color: rgba(255, 250, 241, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button.light:hover {
  border-color: rgba(255, 250, 241, 0.78);
  background: rgba(255, 255, 255, 0.14);
}

.button.disabled {
  color: rgba(23, 32, 27, 0.58);
  background: rgba(23, 32, 27, 0.08);
  cursor: default;
}

.band,
.section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 74px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  background: #fffaf1;
}

.intro-grid,
.split,
.profile-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.intro-grid p {
  font-size: 21px;
}

.copy-block {
  max-width: 660px;
}

.lead {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.42;
}

.feature-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
  box-shadow: var(--shadow);
}

.app-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}

.phone-shell {
  padding: 14px;
  border-radius: 30px;
  background: #151c18;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.phone-top {
  width: 84px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.24);
}

.phone-screen {
  min-height: 420px;
  padding: 30px 22px;
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(242, 196, 129, 0.18), rgba(84, 108, 69, 0.22)),
    #243226;
}

.phone-screen p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.phone-screen h3 {
  margin-top: 82px;
  font-family: Newsreader, Georgia, serif;
  font-size: 32px;
}

.mini-label {
  font-weight: 800;
  text-transform: uppercase;
}

.guide-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.guide-row span {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--clay);
  font-weight: 800;
}

.muted {
  background: var(--paper-deep);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.credentials div,
.work-card,
.book-row article,
.pillar-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.74);
}

.credentials div {
  padding: 24px;
}

.credentials strong {
  display: block;
  margin-bottom: 8px;
  font-family: Newsreader, Georgia, serif;
  font-size: 32px;
}

.credentials span,
.pillar-grid span,
.book-row span {
  color: var(--muted-ink);
  line-height: 1.55;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  min-height: 260px;
  padding: 26px;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--saffron);
  font-weight: 900;
}

.work-card p {
  font-size: 15px;
  line-height: 1.62;
}

.links-section {
  padding-top: 0;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: #fffaf1;
}

.link-card p {
  font-size: 15px;
  line-height: 1.62;
}

.link-card a {
  color: var(--clay);
  font-weight: 800;
  text-decoration: none;
}

.link-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-section {
  overflow: hidden;
}

.gallery-grid,
.credential-gallery {
  display: grid;
  gap: 16px;
}

.work-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid figure,
.credential-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf1;
}

.gallery-grid img,
.credential-gallery img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
}

.credential-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.credential-gallery img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
  background: #eee6d7;
}

figcaption {
  padding: 12px 14px 14px;
  color: var(--muted-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.centre {
  color: #fff;
  background: var(--fern);
}

.centre p {
  color: rgba(255, 255, 255, 0.76);
}

.centre h2 {
  color: #fff;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pillar-grid div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.pillar-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #f2c481;
}

.pillar-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.book-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.book-row article {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.book-row a {
  color: var(--clay);
  font-weight: 800;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf1;
}

.video-card h3 {
  padding: 18px 20px 20px;
  margin: 0;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111912;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blog-section {
  padding-top: 0;
}

.blog-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 54px);
  background: #fffaf1;
}

.blog-panel h2 {
  max-width: 760px;
}

.blog-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.contact {
  padding-bottom: 80px;
}

.contact-panel {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #17201b, #37523b);
}

.contact-panel h2 {
  color: #fff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-actions {
  justify-content: flex-end;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 74px);
  color: rgba(255, 255, 255, 0.68);
  background: #111912;
  font-size: 14px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer a {
  color: #f2c481;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .nav {
    display: none;
  }

  .intro-grid,
  .split,
  .profile-layout,
  .blog-panel,
  .contact-panel,
  .app-panel {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .book-row,
  .video-grid,
  .link-grid,
  .work-gallery,
  .credential-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }

  h1 {
    font-size: 88px;
  }

  h2 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 22px;
  }
}

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

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 120px 20px 56px;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 15, 11, 0.9), rgba(8, 15, 11, 0.62)),
      linear-gradient(0deg, rgba(8, 15, 11, 0.74), rgba(8, 15, 11, 0.1));
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .credentials,
  .card-grid,
  .pillar-grid,
  .book-row,
  .video-grid,
  .link-grid,
  .work-gallery,
  .credential-gallery {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .footer {
    flex-direction: column;
  }
}
