:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #4b5563;
  --line: #d8dee8;
  --paper: #f7f8f6;
  --white: #ffffff;
  --steel: #283341;
  --teal: #1f766e;
  --gold: #b98b45;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.12);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--teal);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 248, 246, 0.86);
  border-bottom: 1px solid rgba(216, 222, 232, 0.8);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 4vw, 64px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  justify-content: center;
  width: 40px;
}

.brand-text {
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
  white-space: nowrap;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
  font-weight: 620;
}

.hero {
  min-height: min(780px, 94vh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

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

.hero-media {
  z-index: -2;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 10, 16, 0.9) 0%, rgba(6, 10, 16, 0.72) 34%, rgba(6, 10, 16, 0.18) 72%, rgba(6, 10, 16, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.2), rgba(6, 10, 16, 0.48));
  z-index: -1;
}

.hero-content {
  color: var(--white);
  max-width: 760px;
  padding: clamp(150px, 21vh, 210px) clamp(20px, 4vw, 64px) 92px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 560;
  line-height: 0.98;
  margin: 0;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.72;
  margin: 30px 0 0;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 15px;
  font-weight: 720;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
}

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

.button-primary:hover {
  background: #e9ede8;
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.86);
  color: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 64px);
}

.section-grid {
  display: grid;
  gap: clamp(28px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1180px;
}

.section h2,
.contact h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 520;
  line-height: 1.08;
  margin: 0;
}

.intro-copy {
  color: var(--muted);
  display: grid;
  gap: 18px;
  font-size: clamp(17px, 1.5vw, 20px);
}

.intro-copy p,
.section-heading p,
.project-card p,
.principle-item p,
.contact-panel p {
  margin: 0;
}

.portfolio {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-heading {
  margin: 0 auto clamp(32px, 5vw, 56px);
  max-width: 1180px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
  margin-top: 16px;
  max-width: 700px;
}

.project-list {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.project-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 430px;
  padding: clamp(24px, 4vw, 42px);
}

.project-meta {
  color: var(--teal);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.project-meta span {
  border: 1px solid rgba(31, 118, 110, 0.24);
  padding: 5px 8px;
}

.project-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 520;
  line-height: 1.1;
  margin: 0;
}

.project-card h3 span {
  color: var(--muted);
  display: block;
  font-family: inherit;
  font-size: 0.54em;
  margin-top: 8px;
}

.project-card p {
  color: var(--muted);
  font-size: 17px;
}

.project-facts {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  margin: auto 0 0;
}

.project-facts div {
  display: grid;
  gap: 10px;
  grid-template-columns: 100px minmax(0, 1fr);
  padding: 14px 0;
}

.project-facts div + div {
  border-top: 1px solid var(--line);
}

.project-facts dt {
  color: var(--muted);
  font-size: 13px;
}

.project-facts dd {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 14px;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.project-facts a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.principle-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.principle-item {
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
}

.principle-item span {
  color: var(--gold);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  margin-bottom: 42px;
}

.principle-item h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 12px;
}

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

.contact {
  padding-top: 0;
}

.contact-panel {
  align-items: center;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(30px, 5vw, 56px);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  margin-top: 16px;
  max-width: 760px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 14px 28px;
  justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 64px);
}

@media (max-width: 860px) {
  .site-header {
    gap: 16px;
    padding-block: 14px;
  }

  .brand-mark {
    width: 36px;
  }

  .brand-text {
    font-size: 14px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 10, 16, 0.9) 0%, rgba(6, 10, 16, 0.72) 58%, rgba(6, 10, 16, 0.3) 100%),
      linear-gradient(180deg, rgba(6, 10, 16, 0.1), rgba(6, 10, 16, 0.56));
  }

  .section-grid,
  .project-list,
  .principle-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .contact-panel {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: space-between;
    width: 100%;
  }

  .hero-content {
    padding-top: 180px;
  }

  .hero h1 {
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
  }

  .project-facts div {
    grid-template-columns: 1fr;
  }
}
