:root {
  --forest: #0d352d;
  --forest-deep: #082a24;
  --ivory: #f2eee2;
  --ivory-soft: #e9e3d5;
  --terracotta: #df704f;
  --oxblood: #702536;
  --sage: #b9c9b4;
  --ink: #17201d;
  --paper-line: rgba(23, 32, 29, 0.28);
  --white-line: rgba(242, 238, 226, 0.24);
  --display: "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1380px, calc(100vw - 112px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.045;
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--forest);
  background: var(--ivory);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 5px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(23, 32, 29, 0.34);
  background: rgba(242, 238, 226, 0.96);
  transition: box-shadow 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(8, 42, 36, 0.12);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
}

.wordmark {
  width: max-content;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  font-weight: 650;
}

.desktop-nav a,
.header-contact {
  position: relative;
}

.desktop-nav a::after,
.header-contact::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.desktop-nav a:hover::after,
.header-contact:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  font-size: 13px;
  font-weight: 700;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 920px;
  padding: 76px 0 0;
  color: var(--ivory);
  background: var(--forest);
}

.hero-inner {
  position: relative;
  min-height: 844px;
  padding-top: 86px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: 60%;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(88px, 8.6vw, 150px);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.hero h1 span {
  display: table;
  padding: 0 0.06em 0.06em 0;
}

.hero h1 .highlight {
  position: relative;
  padding: 0.025em 0.15em 0.07em 0.04em;
  background: rgba(185, 201, 180, 0.62);
}

.hero h1 .highlight-short {
  padding-right: 0.26em;
}

.hero-copy > p {
  margin: 50px 0 0;
  font-size: clamp(20px, 1.6vw, 27px);
  line-height: 1.35;
}

.hero-note {
  position: absolute;
  z-index: 5;
  bottom: 40px;
  left: 0;
  display: flex;
  gap: 13px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-note span:not(:last-child)::after {
  margin-left: 13px;
  content: "·";
}

.hero-art {
  position: absolute;
  z-index: 2;
  top: 48px;
  right: -34px;
  width: 53%;
  height: 720px;
}

.seal {
  position: absolute;
  z-index: 8;
  top: 4px;
  left: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  font-family: var(--mono);
  text-align: center;
  text-transform: uppercase;
  animation: seal-float 5s ease-in-out infinite;
}

.seal::before,
.seal::after {
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  transform: translateX(-50%);
}

.seal::before { top: 22px; }
.seal::after { bottom: 22px; }

.seal span {
  position: absolute;
  width: 118px;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.seal span:first-child {
  top: 43px;
}

.seal span:last-child {
  bottom: 41px;
}

.seal strong {
  font-size: 13px;
  letter-spacing: 0.18em;
}

@keyframes seal-float {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.folded-form {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 700px;
  height: 650px;
  filter: drop-shadow(0 30px 26px rgba(0, 0, 0, 0.23));
}

.fold {
  position: absolute;
  display: block;
  transition: transform 700ms var(--ease);
}

.fold-one {
  top: 10px;
  right: 40px;
  width: 290px;
  height: 455px;
  background: #d8d1bf;
  clip-path: polygon(65% 0, 100% 72%, 45% 100%, 0 26%);
}

.fold-two {
  top: 48px;
  right: 111px;
  width: 213px;
  height: 360px;
  background: #f0eadc;
  clip-path: polygon(100% 0, 47% 78%, 0 24%);
}

.fold-three {
  top: 325px;
  right: 105px;
  width: 395px;
  height: 228px;
  background: #e8e0cf;
  clip-path: polygon(20% 0, 100% 76%, 55% 47%, 0 100%);
}

.fold-four {
  right: 3px;
  bottom: 3px;
  width: 485px;
  height: 210px;
  background: #123e35;
  clip-path: polygon(38% 0, 100% 47%, 93% 100%, 0 100%);
}

.fold-five {
  right: 0;
  bottom: 0;
  width: 260px;
  height: 238px;
  background: #31554a;
  clip-path: polygon(100% 0, 84% 100%, 0 31%);
}

.folded-form:hover .fold-one { transform: translate(4px, -7px); }
.folded-form:hover .fold-two { transform: translate(-5px, -4px); }
.folded-form:hover .fold-three { transform: translate(-4px, 5px); }

.paper-section {
  background-color: var(--ivory);
  background-image: radial-gradient(rgba(23, 32, 29, 0.045) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
}

.company-section {
  padding: 100px 0 72px;
}

.company-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 1.1fr;
  column-gap: 74px;
}

.section-title h2 {
  margin: 18px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 3.3vw, 54px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.short-rule {
  display: block;
  width: 58px;
  height: 4px;
  background: currentColor;
}

.company-column {
  padding: 12px 0 4px;
  font-size: 17px;
}

.company-column-bordered {
  padding-left: 72px;
  border-left: 1px solid var(--paper-line);
}

.company-column p {
  max-width: 410px;
  margin: 0 0 30px;
}

.section-rule {
  position: relative;
  grid-column: 1 / -1;
  height: 2px;
  margin-top: 68px;
  background: var(--paper-line);
}

.section-rule span {
  position: absolute;
  top: -2px;
  right: 0;
  width: 34px;
  height: 5px;
  background: var(--ink);
}

.portfolio-section {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  padding: 100px 0 78px;
  color: var(--ivory);
  background: var(--terracotta);
}

.portfolio-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.78fr 2.22fr;
  gap: 62px;
}

.portfolio-title {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding-right: 48px;
  border-right: 1px solid rgba(23, 32, 29, 0.68);
  color: var(--ink);
}

.portfolio-meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-title > a {
  margin-top: 24px;
  font-size: 28px;
}

.venture-feature {
  position: relative;
  max-width: 780px;
  padding: 28px 0 0;
}

.venture-state {
  margin: 0 0 24px;
  color: var(--oxblood);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.venture-feature h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 6.5vw, 106px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.venture-kind {
  margin: 30px 0 20px;
  font-size: clamp(20px, 2vw, 31px);
}

.venture-rule {
  display: block;
  width: 66px;
  height: 3px;
  margin: 24px 0 34px;
  background: var(--ivory);
}

.venture-belief {
  margin: 0;
  font-size: 17px;
}

.venture-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(242, 238, 226, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.venture-link span {
  transition: transform 200ms var(--ease);
}

.venture-link:hover span {
  transform: translate(4px, -4px);
}

.portfolio-cross {
  position: absolute;
  z-index: 1;
  top: 55px;
  right: -90px;
  width: 390px;
  height: 470px;
  opacity: 0.82;
  transform: rotate(-2deg);
}

.portfolio-cross span {
  position: absolute;
  top: 48%;
  left: 0;
  width: 100%;
  height: 115px;
  background: var(--oxblood);
  transform: rotate(55deg);
}

.portfolio-cross span:last-child {
  transform: rotate(-55deg);
}

.founder-section {
  padding: 90px 0 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.05fr 1.25fr;
  align-items: start;
  gap: 62px;
  min-height: 500px;
}

.founder-title {
  padding-top: 12px;
}

.founder-copy {
  max-width: 390px;
  padding-top: 31px;
  font-size: 17px;
}

.founder-copy p {
  margin: 0 0 22px;
}

.founder-copy a {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.founder-portrait {
  position: relative;
  align-self: end;
  min-height: 420px;
}

.founder-portrait svg {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: min(100%, 430px);
}

.portrait-halo {
  position: absolute;
  z-index: 1;
  right: 43px;
  bottom: 88px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--sage);
}

.portrait-head,
.portrait-neck,
.portrait-body {
  fill: var(--forest-deep);
}

.portrait-line {
  fill: none;
  stroke: var(--ivory);
  stroke-width: 1.2;
}

.founder-portrait > span {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 16px;
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-section {
  position: relative;
  z-index: 5;
  padding: 72px 0;
  color: var(--ivory);
  background: var(--forest);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.contact-grid h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 4.8vw, 78px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.contact-rule {
  display: block;
  width: 65px;
  height: 4px;
  margin-top: 28px;
  background: var(--ivory);
}

.contact-address {
  display: flex;
  align-items: center;
  min-height: 140px;
  padding-left: 60px;
  border-left: 1px solid rgba(242, 238, 226, 0.72);
  gap: 26px;
}

.contact-address svg {
  width: 38px;
}

.contact-address rect,
.contact-address path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.contact-address a {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(20px, 2vw, 31px);
}

.site-footer {
  padding: 24px 0;
  color: rgba(242, 238, 226, 0.62);
  background: var(--forest-deep);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  :root {
    --shell: min(100% - 60px, 960px);
  }

  .hero-copy {
    width: 67%;
  }

  .hero h1 {
    font-size: clamp(80px, 10vw, 112px);
  }

  .hero-art {
    right: -140px;
    width: 65%;
  }

  .seal {
    left: -7%;
  }

  .company-grid {
    grid-template-columns: 0.6fr 1fr 1fr;
    gap: 40px;
  }

  .company-column-bordered {
    padding-left: 40px;
  }

  .portfolio-cross {
    opacity: 0.4;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 36px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .wordmark {
    font-size: 16px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    gap: 7px;
  }

  .menu-button span {
    width: 100%;
    height: 1px;
    background: var(--ink);
    transition: transform 200ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-header.menu-open {
    height: 100vh;
  }

  .mobile-nav {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: 26px 18px;
    color: var(--ivory);
    background: var(--forest);
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--white-line);
    font-family: var(--display);
    font-size: 35px;
    font-weight: 750;
    letter-spacing: -0.04em;
  }

  .hero {
    min-height: 900px;
    padding-top: 66px;
  }

  .hero-inner {
    min-height: 834px;
    padding-top: 55px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(62px, 18vw, 78px);
    line-height: 0.86;
  }

  .hero-copy > p {
    margin-top: 34px;
    font-size: 18px;
  }

  .hero-art {
    top: 390px;
    right: -72px;
    width: 118%;
    height: 405px;
  }

  .seal {
    top: -25px;
    left: 3%;
    width: 112px;
    height: 112px;
  }

  .seal span {
    display: none;
  }

  .seal strong {
    font-size: 10px;
  }

  .seal::before { top: 12px; }
  .seal::after { bottom: 12px; }

  .folded-form {
    width: 440px;
    height: 410px;
    transform: scale(0.82);
    transform-origin: bottom right;
  }

  .fold-one { width: 190px; height: 300px; }
  .fold-two { right: 75px; width: 140px; height: 235px; }
  .fold-three { top: 205px; right: 70px; width: 265px; height: 153px; }
  .fold-four { width: 325px; height: 145px; }
  .fold-five { width: 175px; height: 158px; }

  .hero-note {
    bottom: 24px;
    flex-wrap: wrap;
    max-width: 290px;
    font-size: 7px;
  }

  .company-section {
    padding: 72px 0 58px;
  }

  .company-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-title h2 {
    font-size: 43px;
  }

  .company-column {
    padding: 0;
    font-size: 16px;
  }

  .company-column-bordered {
    padding-top: 35px;
    border-top: 1px solid var(--paper-line);
    border-left: 0;
  }

  .section-rule {
    margin-top: 10px;
  }

  .portfolio-section {
    min-height: 0;
    padding: 72px 0 74px;
  }

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

  .portfolio-title {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 0;
    padding: 0 0 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 32, 29, 0.6);
  }

  .portfolio-title .short-rule,
  .portfolio-title h2 {
    grid-column: 1;
  }

  .portfolio-meta {
    grid-column: 1;
    margin-top: 28px;
  }

  .portfolio-title > a {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: end;
  }

  .venture-feature {
    padding-top: 0;
  }

  .venture-feature h3 {
    font-size: clamp(50px, 14vw, 65px);
  }

  .venture-kind {
    font-size: 19px;
  }

  .portfolio-cross {
    top: auto;
    right: -190px;
    bottom: -50px;
    opacity: 0.24;
  }

  .founder-section {
    padding-top: 70px;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
  }

  .founder-copy {
    padding-top: 8px;
  }

  .founder-portrait {
    min-height: 360px;
    margin-top: 20px;
  }

  .founder-portrait svg {
    right: 50%;
    width: 340px;
    transform: translateX(50%);
  }

  .portrait-halo {
    right: 50%;
    width: 220px;
    height: 220px;
    transform: translateX(50%);
  }

  .founder-portrait > span {
    right: 50%;
    transform: translateX(50%);
    white-space: nowrap;
  }

  .contact-section {
    padding: 65px 0;
  }

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

  .contact-grid h2 {
    font-size: 53px;
  }

  .contact-address {
    min-height: 0;
    padding: 38px 0 0;
    border-top: 1px solid rgba(242, 238, 226, 0.72);
    border-left: 0;
  }

  .contact-address a {
    font-size: 21px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
