:root {
  --ink: #17211e;
  --paper: #f5eddc;
  --paper-deep: #eadcc2;
  --forest: #123f3a;
  --forest-light: #1a5a51;
  --orange: #ee6c25;
  --gold: #e9ad38;
  --leaf: #8ba545;
  --cream: #fff8e8;
  --line: rgba(23, 33, 30, 0.18);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(233, 173, 56, 0.09), transparent 24rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--cream);
  background: var(--forest);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  display: flex;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 3rem, 1240px);
  padding: 2rem 0;
  transform: translateX(-50%);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
}

.wordmark strong {
  color: var(--orange);
}

.wordmark-mark {
  display: grid;
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  place-items: center;
}

.wordmark-mark::before,
.wordmark-mark::after,
.wordmark-mark i {
  position: absolute;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.wordmark-mark::before {
  transform: translate(-0.33rem, 0.18rem);
}

.wordmark-mark::after {
  transform: translate(0.33rem, 0.18rem);
}

.wordmark-mark i {
  transform: translateY(-0.35rem);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  position: relative;
  min-height: 800px;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 2rem;
  width: min(100% - 3rem, 1240px);
  margin: 0 auto;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 630px;
  animation: rise 700ms 80ms both cubic-bezier(.2, .8, .2, 1);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.4rem;
  height: 2px;
  background: var(--orange);
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

h1 {
  font-size: clamp(4.4rem, 7.1vw, 7.35rem);
}

h1 em,
h2 em {
  color: var(--orange);
  font-weight: 400;
}

.hero-intro {
  max-width: 570px;
  margin: 2.2rem 0 0;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.25rem 1rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--cream);
  background: var(--forest);
  box-shadow: 4px 4px 0 var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--forest-light);
  box-shadow: 2px 2px 0 var(--orange);
  transform: translate(2px, 2px);
}

.button span {
  font-size: 1rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.status i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 5px rgba(139, 165, 69, 0.14);
}

.hero-art {
  position: relative;
  min-height: 610px;
  animation: rise 800ms 180ms both cubic-bezier(.2, .8, .2, 1);
}

.hero-art::before {
  position: absolute;
  top: 5%;
  right: -9%;
  width: 105%;
  aspect-ratio: 1;
  border-radius: 48% 52% 50% 50%;
  background: var(--forest);
  content: "";
  transform: rotate(-7deg);
}

.sun {
  position: absolute;
  z-index: 1;
  top: 2%;
  right: 2%;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 2px rgba(23, 33, 30, 0.2);
}

.icon-frame {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(88%, 540px);
  padding: 0.5rem;
  border: 2px solid var(--ink);
  border-radius: 28%;
  background: var(--cream);
  box-shadow: 16px 18px 0 rgba(0, 0, 0, 0.16);
  transform: translate(-51%, -46%) rotate(2deg);
}

.icon-frame img {
  width: 100%;
  border-radius: 26%;
}

.ripple {
  position: absolute;
  z-index: 2;
  border: 2px solid rgba(255, 248, 232, 0.38);
  border-radius: 50%;
}

.ripple-one {
  right: -10%;
  bottom: 4%;
  width: 80%;
  height: 19%;
  transform: rotate(-11deg);
}

.ripple-two {
  right: 2%;
  bottom: 9%;
  width: 55%;
  height: 12%;
  transform: rotate(-11deg);
}

.cloud {
  position: absolute;
  z-index: 2;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--paper);
  opacity: 0.85;
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  background: inherit;
  content: "";
}

.cloud::before {
  left: 18%;
  width: 2rem;
  height: 2rem;
}

.cloud::after {
  right: 18%;
  width: 2.6rem;
  height: 2.6rem;
}

.cloud-one {
  top: 12%;
  left: 2%;
  width: 8.5rem;
}

.cloud-two {
  right: -1%;
  bottom: 25%;
  width: 6.5rem;
  transform: scale(0.65);
}

.leaf {
  position: absolute;
  z-index: 4;
  width: 2.1rem;
  height: 4.5rem;
  border: 2px solid var(--ink);
  border-radius: 100% 0 100% 0;
  background: var(--leaf);
  transform-origin: bottom center;
}

.leaf-one {
  bottom: 5%;
  left: 5%;
  transform: rotate(-36deg);
}

.leaf-two {
  bottom: 3%;
  left: 10%;
  width: 1.6rem;
  height: 3.5rem;
  transform: rotate(-5deg);
}

.marquee {
  position: relative;
  padding: 1rem 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  background: var(--gold);
  transform: rotate(-1deg) scale(1.02);
}

.marquee div {
  display: flex;
  justify-content: space-around;
  min-width: 1200px;
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 700;
}

.marquee i {
  color: var(--forest);
  font-style: normal;
}

.section {
  width: min(100% - 3rem, 1240px);
  margin: 0 auto;
  padding: 9rem 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: end;
  gap: 2rem;
  margin-bottom: 4.5rem;
}

h2 {
  font-size: clamp(3.2rem, 6vw, 6.1rem);
}

.project-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--orange);
}

.project-image {
  display: flex;
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--forest);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  filter: saturate(0.9) contrast(1.03);
  transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.project-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 63, 58, 0.2), transparent 50%);
  content: "";
}

.project-image figcaption {
  position: absolute;
  z-index: 1;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(23, 33, 30, 0.42);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.88);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 4rem);
  border-left: 2px solid var(--ink);
}

.project-number {
  margin: 0 0 1.5rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.6vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.project-copy p:not(.project-number) {
  margin: 0 0 1rem;
  color: #34413d;
  font-size: 1rem;
  line-height: 1.65;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.studio {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(4rem, 9vw, 9rem);
  color: var(--cream);
}

#studio {
  position: relative;
}

#studio::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: var(--forest);
  content: "";
  transform: translateX(-50%);
}

.eyebrow.light {
  color: var(--cream);
}

.studio h2 em {
  color: var(--gold);
}

.studio-intro > p:last-child {
  max-width: 550px;
  margin: 2.2rem 0 0;
  color: rgba(255, 248, 232, 0.74);
  font-size: 1.05rem;
  line-height: 1.75;
}

.principles {
  border-top: 1px solid rgba(255, 248, 232, 0.28);
}

.principles article {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1.3rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 248, 232, 0.28);
}

.principles span {
  grid-row: 1 / 3;
  padding-top: 0.3rem;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
}

.principles h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
}

.principles p {
  margin: 0;
  color: rgba(255, 248, 232, 0.66);
  line-height: 1.55;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 3rem, 1240px);
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
}

footer p {
  margin: 0;
}

footer p:last-child {
  text-align: right;
}

.footer-mark {
  font-size: 0.7rem;
}

.footer-mark .wordmark-mark {
  width: 1.7rem;
  height: 1.7rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 0.9fr;
    min-height: 720px;
  }

  .hero-art {
    min-height: 500px;
  }

  .sun {
    width: 6rem;
    height: 6rem;
  }

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

  .project-image {
    min-height: 440px;
  }

  .project-copy {
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

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

@media (max-width: 740px) {
  .marquee {
    transform: none;
  }

  .site-header {
    width: min(100% - 2rem, 1240px);
    padding: 1.3rem 0;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 1240px);
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  h1 {
    font-size: clamp(3.8rem, 19vw, 5.7rem);
  }

  .hero-intro {
    line-height: 1.6;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 430px;
  }

  .hero-art::before {
    right: -4%;
    width: 100%;
  }

  .icon-frame {
    width: min(76vw, 370px);
  }

  .section {
    width: min(100% - 2rem, 1240px);
    padding: 6rem 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }

  h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .project-card {
    box-shadow: 6px 6px 0 var(--orange);
  }

  .project-image {
    min-height: 310px;
  }

  .project-copy {
    padding: 2rem 1.5rem;
  }

  .studio {
    gap: 3.5rem;
  }

  footer {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 1240px);
  }

  footer p:last-child {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
