:root {
  --forest: #0c2820;
  --forest-2: #163b30;
  --forest-3: #245348;
  --gold: #c7a45a;
  --gold-soft: #e7d4a6;
  --ivory: #f5f2ea;
  --paper: #fbfaf6;
  --white: #ffffff;
  --text: #17322a;
  --muted: #60716c;
  --line: rgba(12, 40, 32, 0.15);
  --radius-lg: 30px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(12, 40, 32, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
main,
section,
.container,
.hero-grid,
.split,
.story-grid,
.contact-grid {
  min-width: 0;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(12, 40, 32, 0.08);
  background: rgba(245, 242, 234, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:not(.button):hover,
.nav-links a[aria-current="page"] {
  color: #6a552a;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--forest-2);
  box-shadow: 0 12px 30px rgba(12, 40, 32, 0.17);
}

.button--gold {
  color: var(--forest);
  border-color: var(--gold);
  background: var(--gold);
}

.button--gold:hover {
  background: #d5b66f;
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: #725b2c;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--gold);
  content: "";
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  overflow-wrap: break-word;
}

.hero {
  padding: 88px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 72px;
}

.hero h1,
.page-hero h1 {
  margin-bottom: 28px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy,
.page-lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
}

.hero-panel {
  display: grid;
  width: min(100%, 480px);
  min-height: 0;
  aspect-ratio: 1 / 1;
  justify-self: end;
  place-items: center;
  padding: 52px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--forest);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: min(82%, 350px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.2));
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

.fact {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 760;
}

section {
  padding: 100px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  margin-bottom: 52px;
}

.section-heading h2,
.split h2,
.story-heading {
  margin-bottom: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 650px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.card {
  min-height: 300px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.card-index {
  display: block;
  margin-bottom: 64px;
  color: #7e6633;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.card h3 {
  margin-bottom: 13px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.portfolio {
  padding-top: 88px;
  color: var(--white);
  background: var(--forest);
}

.portfolio .eyebrow {
  color: var(--gold-soft);
}

.portfolio-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  margin-bottom: 50px;
}

.portfolio-heading h2 {
  margin-bottom: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.portfolio-heading p {
  max-width: 650px;
  margin: 8px 0 0;
  color: #d2ddd8;
  font-size: 1.08rem;
}

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

.portfolio-card {
  min-height: 340px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.portfolio-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}

.portfolio-card p {
  margin-bottom: 22px;
  color: #c6d3ce;
  font-size: 0.96rem;
}

.portfolio-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.15rem;
  color: #e2e9e6;
  font-size: 0.92rem;
}

.portfolio-card li::marker {
  color: var(--gold);
}

.confidentiality-note {
  margin: 26px 0 0;
  color: #aebfb8;
  font-size: 0.87rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
}

.dark-panel {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--forest);
}

.dark-panel h2 {
  color: var(--white);
}

.dark-panel p {
  max-width: 470px;
  margin-bottom: 0;
  color: #d3ded9;
}

.reference-panel {
  padding: 30px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.48);
}

.reference-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.reference-item:last-child {
  border-bottom: 0;
}

.reference-item span {
  display: block;
  margin-bottom: 7px;
  color: #725b2c;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-item h3 {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 1.15rem;
}

.reference-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.story-teaser {
  background: var(--paper);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: 80px;
}

.year-mark {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6.2rem, 14vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.story-copy h2 {
  margin-bottom: 24px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.story-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.story-copy .button {
  margin-top: 12px;
}

.contact {
  padding-top: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 48px;
  padding: 58px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--forest);
}

.contact-grid h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.contact-grid p {
  max-width: 640px;
  margin-bottom: 0;
  color: #d4dfda;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-link {
  display: block;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-weight: 760;
  text-decoration: none;
}

.contact-link:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.11);
}

.page-hero {
  padding: 90px 0 82px;
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero .page-lead {
  max-width: 790px;
  margin-bottom: 0;
}

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

.origin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 76px;
}

.origin-card {
  align-self: start;
  padding: 34px;
  border-radius: var(--radius-md);
  color: var(--white);
  background: var(--forest);
}

.origin-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1;
}

.origin-card span {
  color: #d5dfda;
}

.origin-copy h2 {
  margin-bottom: 24px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.origin-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.principle {
  padding: 30px 0 0;
  border-top: 2px solid var(--gold);
}

.principle h3 {
  margin-bottom: 12px;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

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

.closing {
  padding-top: 20px;
}

.closing-box {
  padding: 64px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--forest);
}

.closing-box blockquote {
  max-width: 900px;
  margin: 0 0 36px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.closing-box p {
  max-width: 680px;
  margin-bottom: 0;
  color: #d4dfda;
}

footer {
  padding: 50px 0 38px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .portfolio-heading,
  .split,
  .story-grid,
  .contact-grid,
  .origin-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .story-grid,
  .origin-grid {
    gap: 46px;
  }

  .hero-panel {
    width: min(100%, 430px);
    min-height: 0;
    justify-self: center;
  }

  .cards,
  .principles {
    grid-template-columns: 1fr;
  }

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

  .card {
    min-height: 0;
  }

  .card-index {
    margin-bottom: 34px;
  }

  .year-mark {
    font-size: 7rem;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 72px;
  }

  .brand {
    gap: 8px;
    font-size: 0.98rem;
    letter-spacing: 0.12em;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links .button {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 0.84rem;
  }

  .hero,
  .page-hero {
    padding-top: 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  section {
    padding: 74px 0;
  }

  .hero-panel,
  .dark-panel,
  .contact-grid,
  .closing-box {
    padding: 30px;
  }

  .hero-panel {
    width: 100%;
    min-height: 0;
    padding: 38px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    min-height: 0;
  }

  .portfolio-card span {
    margin-bottom: 32px;
  }

  .dark-panel {
    min-height: 430px;
  }

  .reference-panel {
    padding: 16px 26px;
  }

  .contact-link {
    padding: 14px 16px;
    font-size: 0.93rem;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
