:root {
  --coal: #0d0f0f;
  --slate: #171b19;
  --slate-2: #111412;
  --bone: #d9d5ca;
  --moss: #87917d;
  --moss-light: #9aa58f;
  --stone: #7f7567;
  --muted: #a5a79f;
  --line: #2c312e;
  --content: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--coal);
  color: var(--bone);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(44, 49, 46, 0.95);
  background: rgba(13, 15, 15, 0.9);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(calc(100% - 10vw), var(--content));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-name {
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible {
  color: var(--moss-light);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  padding: 30px 5vw 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 28%, rgba(135, 145, 125, 0.15), transparent 25%),
    linear-gradient(135deg, #0d0f0f 0%, #101310 57%, #171b19 100%);
}

.texture {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content));
  min-height: calc(100vh - 158px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 7vw;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--moss);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7.4vw, 118px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 680px;
  margin: 38px 0 0;
  color: #b8bab3;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.58;
}

.interest-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 38px;
}

.interest-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait {
  position: relative;
  margin: 0;
}

.portrait-outline {
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid #3a403c;
}

.portrait img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 1px solid #404541;
  filter: saturate(0.78) contrast(1.04) brightness(0.92);
}

.section {
  padding: 112px 5vw 132px;
  border-top: 1px solid var(--line);
}

.section-shell {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.section-rule {
  height: 1px;
  margin-bottom: 70px;
  background: linear-gradient(90deg, var(--stone), transparent);
}

.projects {
  background: var(--slate-2);
}

.project-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 9vw;
  align-items: end;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.project-copy,
.contact-form {
  max-width: 560px;
  padding-top: 22px;
  border-top: 1px solid var(--stone);
}

.project-label,
.article-topic {
  color: var(--moss);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-copy > p:not(.project-label) {
  color: #afb1aa;
  font-size: 20px;
  line-height: 1.62;
}

.project-meta {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.project-meta span,
.project-meta strong {
  display: block;
}

.project-meta span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.17em;
}

.project-meta strong {
  margin-top: 7px;
  font-size: 15px;
}

.articles {
  background: #0f1110;
}

.articles-heading {
  max-width: 900px;
}

.articles-heading p {
  max-width: 720px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 19px;
}

.article-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(23, 27, 25, 0.55);
}

.article-number {
  color: var(--stone);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.article-topic {
  margin-top: 62px;
  margin-bottom: 12px;
}

.article-card h3 {
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
}

.article-card > p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.coming-note {
  margin-top: 34px;
  color: #727770;
  font-size: 13px;
}

.contact {
  background: var(--slate);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 8vw;
  align-items: start;
}

.contact-intro {
  max-width: 580px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 19px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 9px;
}

label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid #39403b;
  border-radius: 0;
  background: #101310;
  color: var(--bone);
  font: inherit;
  padding: 15px 16px;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #686d67;
}

input:disabled,
textarea:disabled {
  opacity: 0.7;
}

.contact-form button {
  min-height: 54px;
  border: 1px solid var(--stone);
  border-radius: 0;
  background: transparent;
  color: #91968f;
  font: inherit;
  font-weight: 700;
}

.form-note {
  margin-bottom: 0;
  color: #747972;
  font-size: 13px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 5vw;
  color: #70756f;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-one {
  transition-delay: 0.12s;
}

.delay-two {
  transition-delay: 0.24s;
}

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

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

@media (max-width: 900px) {
  .hero-grid,
  .project-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 86px 0 70px;
    gap: 60px;
  }

  .portrait {
    max-width: 560px;
  }

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

  .project-copy,
  .contact-form {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .nav-shell {
    width: min(calc(100% - 44px), var(--content));
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    border: 0;
    background: transparent;
    color: var(--bone);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 22px 24px;
    background: rgba(13, 15, 15, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  nav.open {
    display: flex;
  }

  .hero {
    padding-inline: 22px;
  }

  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  footer {
    padding-left: 22px;
    padding-right: 22px;
    flex-direction: column;
  }

  .interest-row {
    gap: 6px;
  }
}


/* Version 4 refinements */
.site-name {
  font-size: 13px;
}

nav a {
  font-size: 13px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--moss);
  transition: right 0.25s ease;
}

nav a:hover::after,
nav a:focus-visible::after,
nav a.active::after {
  right: 0;
}

.contact-form button {
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--coal);
  transform: translateY(-2px);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(135, 145, 125, 0.38);
  outline-offset: 2px;
  border-color: var(--moss);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.portrait {
  transition: transform 0.3s ease;
}

.portrait:hover {
  transform: translateY(-3px);
}

.portrait-outline {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.portrait:hover .portrait-outline {
  border-color: rgba(135, 145, 125, 0.65);
  transform: translate(-2px, 2px);
}

@media (max-width: 680px) {
  nav a::after {
    bottom: -4px;
  }
}
