@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #4b5d57;
  background:
    radial-gradient(circle at top, rgba(156, 190, 71, 0.22), transparent 24%),
    linear-gradient(180deg, #f4f1e9 0%, #ece7de 100%);

  --ink-strong: #173429;
  --ink-soft: #4b5d57;
  --accent: #97b93d;
  --accent-deep: #6d8e1e;
  --accent-warm: #c8a053;
  --surface: rgba(255, 253, 248, 0.94);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --surface-tint: rgba(239, 243, 228, 0.96);
  --border: rgba(23, 52, 41, 0.12);
  --shadow: 0 24px 70px rgba(18, 38, 30, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent);
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
strong {
  margin: 0;
  color: var(--ink-strong);
  font-family: "Outfit", sans-serif;
}

h1 {
  font-size: clamp(2.7rem, 5.7vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.12;
}

p {
  margin: 0;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 241, 233, 0.82);
  border-bottom: 1px solid rgba(23, 52, 41, 0.08);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  max-width: 260px;
}

.brand-link img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  font-size: 0.96rem;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--ink-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 30px;
  background:
    linear-gradient(115deg, rgba(13, 33, 24, 0.92), rgba(26, 58, 38, 0.56)),
    url("./assets/montana.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(151, 185, 61, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(11, 22, 18, 0.12), rgba(11, 22, 18, 0.44));
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}

.hero-copy,
.hero-panel,
.statement-card,
.mini-card,
.service-card,
.projects-copy,
.project-card,
.team-card,
.studio-copy,
.studio-media,
.contact-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.72fr);
  grid-template-areas:
    "eyebrow eyebrow"
    "title lead"
    "title actions";
  gap: 10px 26px;
  max-width: none;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 25, 19, 0.58);
  color: rgba(245, 248, 242, 0.94);
  align-items: start;
}

.hero-copy h1,
.hero-copy p {
  color: inherit;
}

.hero-copy .eyebrow {
  grid-area: eyebrow;
  margin-bottom: 0;
}

.hero-copy h1 {
  grid-area: title;
  max-width: 9.6ch;
}

.eyebrow {
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  grid-area: lead;
  max-width: 27ch;
  margin-top: 4px;
  font-size: 0.98rem;
  line-height: 1.62;
}

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

.hero-actions {
  grid-area: actions;
  margin-top: 0;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button-primary {
  background: var(--accent);
  color: #102217;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f8fbf5;
}

.contact-actions .button-secondary {
  border-color: var(--border);
  color: var(--ink-strong);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.hero-panel {
  width: 100%;
  justify-self: end;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 252, 247, 0.95);
}

.brand-plaque {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #173f17, #6b8d25);
}

.brand-plaque img {
  width: min(100%, 430px);
}

.hero-highlights {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.highlight-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-tint);
}

.highlight-card img {
  width: 80px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.highlight-card span {
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-strong);
}

.section {
  padding: 34px 0;
}

main > .section + .section {
  padding-top: 40px;
}

.intro-grid,
.service-grid,
.projects-grid,
.project-cards,
.team-grid,
.studio-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

.statement-card,
.mini-card,
.service-card,
.projects-copy,
.project-card,
.team-card,
.studio-copy,
.contact-card {
  border: 1px solid var(--border);
  background: var(--surface);
}

.statement-card,
.mini-card,
.service-card,
.projects-copy,
.project-card,
.studio-copy,
.contact-card {
  padding: 22px;
}

.statement-card p:last-child,
.projects-copy > p:last-of-type,
.contact-card p:last-of-type {
  margin-top: 12px;
  font-size: 0.99rem;
}

.statement-card-wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 14px 34px;
  align-items: center;
}

.statement-card-wide .eyebrow,
.statement-card-wide h2 {
  grid-column: 1;
}

.statement-card-wide h2 {
  max-width: 12.5ch;
}

.statement-card-wide > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-top: 0;
  font-size: 0.99rem;
  line-height: 1.62;
  max-width: 40ch;
}

.focus-pills {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 6px;
  align-self: start;
}

.focus-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-strong);
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-strong);
}

.mini-card p,
.service-card p {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.section-head {
  max-width: 66ch;
  margin-bottom: 22px;
}

.section-head p:last-child {
  margin-top: 10px;
  font-size: 1rem;
}

.services-title {
  white-space: nowrap;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.section-soft {
  background:
    radial-gradient(circle at top right, rgba(151, 185, 61, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(231, 236, 222, 0.6), rgba(239, 235, 227, 0));
}

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

.projects-grid {
  grid-template-columns: 1fr;
  align-items: start;
}

.projects-copy-wide {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px 24px;
  align-items: start;
}

.projects-copy-wide .eyebrow,
.projects-copy-wide h2,
.projects-copy-wide > p:not(.eyebrow) {
  grid-column: 1;
}

.projects-copy-wide h2 {
  max-width: 11.5ch;
}

.projects-copy-wide > p:not(.eyebrow) {
  margin-top: 0;
  font-size: 0.99rem;
  line-height: 1.62;
}

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

.method-steps {
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
  align-self: stretch;
}

.method-step {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
}

.method-step strong {
  display: block;
  font-size: 1rem;
}

.method-step span {
  display: block;
  margin-top: 8px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.project-card strong {
  display: block;
  font-size: 1.2rem;
}

.project-card span {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
}

.team-grid-large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-inline-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.team-grid-compact {
  grid-template-columns: repeat(2, minmax(260px, 340px));
  justify-content: center;
}

.team-card {
  overflow: hidden;
  padding: 0;
}

.team-grid-compact .team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-grid-compact .team-card img {
  width: 64px;
  min-width: 64px;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.team-copy {
  padding: 20px;
}

.team-grid-compact .team-copy {
  padding: 0;
}

.role {
  margin-top: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.studio-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
}

.studio-media {
  overflow: hidden;
  border: 1px solid var(--border);
}

.studio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-copy {
  border: 1px solid var(--border);
}

.studio-copy p:last-of-type {
  margin-top: 14px;
  font-size: 1.05rem;
}

.studio-details {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.detail-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

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

.contact-card-plain {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 24px;
  align-items: end;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-card-plain h2 {
  max-width: 15ch;
}

.contact-card-plain > p:not(.eyebrow) {
  max-width: 62ch;
  font-size: 0.99rem;
  line-height: 1.62;
}

.contact-card-plain .contact-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 0;
  align-self: end;
}

.contact-card-plain .button-secondary {
  border-color: var(--border);
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.62);
}

.site-footer {
  border-top: 1px solid rgba(23, 52, 41, 0.08);
  background: rgba(244, 241, 233, 0.88);
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 26px 0 32px;
}

.footer-shell p:first-child {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--ink-strong);
}

@media (max-width: 1120px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .intro-grid,
  .projects-grid,
  .studio-grid,
  .contact-grid,
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .statement-card-wide,
  .projects-copy-wide,
  .contact-card-plain {
    grid-template-columns: 1fr;
  }

  .statement-card-wide > p:not(.eyebrow),
  .projects-copy-wide > p:not(.eyebrow),
  .method-steps,
  .contact-card-plain .contact-actions {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  .focus-pills {
    grid-column: auto;
    margin-top: 8px;
  }

  .method-steps {
    margin-top: 14px;
  }

  .contact-card-plain .contact-actions {
    margin-top: 18px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 20px, 1160px);
  }

  .nav-shell {
    padding: 14px 0;
  }

  .site-nav {
    gap: 12px;
  }

  .hero {
    padding: 24px 0 22px;
  }

  .section {
    padding: 28px 0;
  }

  main > .section + .section {
    padding-top: 32px;
  }

  .hero-copy,
  .hero-panel,
  .statement-card,
  .mini-card,
  .service-card,
  .projects-copy,
  .project-card,
  .team-copy,
  .studio-copy,
  .contact-card {
    padding: 20px;
  }
}

@media (max-width: 700px) {
  .hero-copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "actions";
    gap: 12px;
  }

  .hero-copy h1,
  .lead {
    max-width: none;
  }

  .lead,
  .hero-actions {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 24px 0;
  }

  main > .section + .section {
    padding-top: 28px;
  }

  .intro-grid,
  .method-steps,
  .service-grid,
  .project-cards,
  .team-grid-compact,
  .team-grid-large {
    grid-template-columns: 1fr;
  }

  .services-title,
  .section-inline-title {
    white-space: normal;
  }

  .highlight-card {
    grid-template-columns: 1fr;
  }

  .highlight-card img {
    width: 100%;
    height: 150px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .footer-shell {
    padding: 18px 0 24px;
  }
}
