:root {
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --ink: #1c1917;
  --muted: #6b635c;
  --line: #e4ddd4;
  --paper: #ffffff;
  --canvas: #f3f0eb;
  --canvas-2: #ebe6df;
  --brand: #fd8c2e;
  --brand-ink: #7a3a0c;
  --brand-soft: #fff0e3;
  --brand-deep: #e8711a;
  --shadow: 0 1px 0 rgba(28, 25, 23, 0.04), 0 12px 32px rgba(28, 25, 23, 0.08);
  --radius: 4px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.25rem 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  width: 148px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.nav a.cta {
  background: var(--brand);
  color: #fff;
  margin-left: 0.5rem;
  padding: 0.65rem 1rem;
}

.nav a.cta:hover {
  background: var(--brand-deep);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  margin: 0.28rem auto;
  background: currentColor;
}

.site-header.on-light .nav a {
  color: var(--muted);
}

.site-header.on-light .nav a:hover,
.site-header.on-light .nav a[aria-current="page"] {
  color: var(--ink);
}

.site-header.on-light .nav a.cta {
  color: #fff;
}

.site-header.on-light .nav-toggle {
  border-color: var(--line);
  color: var(--ink);
}

.site-header.on-light {
  position: sticky;
  top: 0;
  background: rgba(243, 240, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 14s ease-out forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 25, 23, 0.45) 0%, rgba(28, 25, 23, 0.2) 35%, rgba(28, 25, 23, 0.72) 100%),
    radial-gradient(900px 420px at 85% 15%, rgba(253, 140, 46, 0.28), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 5.5rem;
  max-width: 38rem;
  animation: rise 0.9s ease-out both;
}

.hero-brand {
  display: block;
  width: min(220px, 55vw);
  margin-bottom: 1.75rem;
  filter: brightness(0) invert(1);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.85rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 1.25rem;
  background: var(--brand);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  margin-left: 0.6rem;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn-row .btn-ghost {
  margin-left: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.bg-paper {
  background: var(--paper);
}

.bg-warm {
  background:
    radial-gradient(900px 380px at 0% 0%, rgba(253, 140, 46, 0.1), transparent 55%),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-2) 100%);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease;
}

.service:hover img {
  transform: scale(1.05);
}

.service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(28, 25, 23, 0.85) 100%);
}

.service-body {
  padding: 1.5rem;
}

.service h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.service p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service .link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.pillars {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.pillar-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pillar-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.pillar-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.pillar-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.pillars-visual {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.pillars-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.audience article {
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--brand);
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.audience h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.audience p {
  color: var(--muted);
}

.refs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: center;
}

.refs img {
  width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.refs img:hover {
  filter: none;
  opacity: 1;
}

.cta-band {
  background:
    linear-gradient(135deg, #2a221c 0%, #3d2a1a 55%, #5a3214 100%);
  color: #fff;
  padding: 4rem 0;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

/* Page hero (inner) */
.page-hero {
  padding: 8.5rem 0 3.5rem;
  background:
    radial-gradient(800px 300px at 100% 0%, rgba(253, 140, 46, 0.16), transparent 55%),
    linear-gradient(180deg, var(--canvas) 0%, var(--canvas-2) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.08rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:nth-child(even) .service-detail-visual {
  order: 2;
}

.service-detail h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.service-detail p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-detail-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 16rem;
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.contact-card h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
}

.contact-list span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-ink);
  font-family: var(--font-display);
}

.contact-list a,
.contact-list strong {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--brand-deep);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #faf7f3;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(253, 140, 46, 0.35);
  border-color: var(--brand);
  background: #fff;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-visual {
  margin-top: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.contact-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background: #1c1917;
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: var(--brand);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.85rem;
  max-width: 36rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .services,
  .audience,
  .pillars,
  .service-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) .service-detail-visual {
    order: 0;
  }

  .refs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    background: #1c1917;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem;
  }

  .site-header.on-light .nav {
    background: var(--paper);
    border-color: var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a.cta {
    margin-left: 0;
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }

  .btn-ghost {
    margin-left: 0;
  }

  .refs {
    grid-template-columns: repeat(2, 1fr);
  }
}
