@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Italiana&display=swap");

:root {
  --ink: #15211f;
  --ink-soft: #334340;
  --paper: #f4f0e7;
  --cream: #fbf9f4;
  --green: #174b45;
  --green-bright: #2f756b;
  --gold: #d0a24d;
  --line: rgba(21, 33, 31, 0.16);
  --white-line: rgba(255, 255, 255, 0.25);
  --display: "Italiana", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button {
  font: inherit;
}

.shell {
  width: min(1240px, calc(100% - 72px));
  margin-inline: auto;
}

.section {
  padding: clamp(88px, 10vw, 150px) 0;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 15px;
  clip: auto;
  color: #fff;
  background: var(--green);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
  transition: color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 249, 244, 0.95);
  box-shadow: 0 8px 35px rgba(10, 35, 32, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: block;
  width: min(350px, 33vw);
  padding: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.93);
}

.brand img {
  height: 52px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 17px;
  border: 1px solid currentColor;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  align-items: flex-end;
  color: #fff;
  background: #0e2926;
}

.hero-art,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-art img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroDrift 16s ease-out both;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(8, 28, 26, 0.9) 0%, rgba(8, 28, 26, 0.58) 43%, rgba(8, 28, 26, 0.1) 78%),
    linear-gradient(0deg, rgba(8, 28, 26, 0.65), transparent 48%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  padding-top: 180px;
  padding-bottom: clamp(90px, 11vw, 150px);
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 60px;
}

.hero-copy {
  max-width: 850px;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 30px;
  font-size: clamp(4.1rem, 8.2vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: -0.035em;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

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

.button-light {
  color: var(--ink);
  background: #fff;
}

.button-light:hover {
  color: #fff;
  background: var(--green-bright);
}

.button-dark {
  color: #fff;
  background: var(--green);
}

.button-dark:hover {
  background: var(--green-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.text-link-light {
  color: #fff;
}

.hero-note {
  padding: 26px 0 5px 26px;
  border-left: 1px solid var(--white-line);
}

.hero-note-number {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.hero-note p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.25;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 35px;
  bottom: 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue span {
  margin-top: 12px;
}

.intro {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(70px, 11vw, 160px);
}

.intro-copy {
  max-width: 650px;
  padding-top: 48px;
  color: var(--ink-soft);
}

.intro-copy p:not(.lead) {
  margin-bottom: 34px;
}

.featured {
  background: var(--paper);
}

.section-heading {
  display: flex;
  margin-bottom: clamp(55px, 7vw, 85px);
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 7vw, 96px) clamp(24px, 4vw, 54px);
}

.work-card:nth-child(2) {
  margin-top: 130px;
}

.work-card:nth-child(3) {
  margin-top: -20px;
}

.work-card:nth-child(4) {
  margin-top: 105px;
}

.work-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.6 / 1;
  background: var(--green);
}

.work-image-square {
  aspect-ratio: 1 / 1;
}

.work-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-image:hover img {
  transform: scale(1.045);
}

.work-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.work-image:hover .work-arrow {
  color: #fff;
  background: var(--green);
  transform: rotate(45deg);
}

.work-meta {
  display: flex;
  padding-top: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.work-type {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-meta h3,
.journal-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  line-height: 1.05;
}

.work-meta > span {
  color: var(--ink-soft);
  font-size: 0.73rem;
  white-space: nowrap;
}

.mobile-link {
  display: none;
}

.pattern-story {
  color: #fff;
  background: var(--green);
}

.pattern-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
}

.pattern-image img {
  height: min(700px, 70vw);
  object-fit: cover;
}

.image-caption {
  display: flex;
  padding-top: 15px;
  justify-content: space-between;
  gap: 15px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.69rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pattern-copy h2 {
  margin-bottom: 34px;
}

.pattern-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.feature-list {
  margin: 0 0 45px;
  padding: 0;
  border-top: 1px solid var(--white-line);
  list-style: none;
}

.feature-list li {
  display: flex;
  padding: 17px 0;
  border-bottom: 1px solid var(--white-line);
  align-items: center;
  gap: 24px;
}

.feature-list span {
  color: var(--gold);
  font-size: 0.7rem;
}

.pattern-copy .button-dark {
  color: var(--ink);
  background: #fff;
}

.services {
  background: var(--cream);
}

.service-grid {
  border-top: 1px solid var(--line);
}

.service-card {
  display: grid;
  padding: 36px 20px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 25px;
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease, padding 200ms ease;
}

.service-card:hover {
  padding-right: 35px;
  padding-left: 35px;
  color: #fff;
  background: var(--green);
}

.service-number {
  color: var(--gold);
  font-size: 0.73rem;
}

.service-card h3 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.service-card p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

.service-arrow {
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.service-card:hover .service-arrow {
  transform: translateX(7px);
}

.journal {
  background: var(--paper);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 34px;
}

.journal-card > a {
  display: block;
  margin-bottom: 24px;
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
}

.journal-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.journal-card > a:hover img {
  transform: scale(1.04);
}

.journal-card h3 a {
  text-decoration: none;
}

.journal-card > p:last-child,
.journal-card-feature p:last-child {
  max-width: 520px;
  margin: 15px 0 0;
  color: var(--ink-soft);
}

.journal-card-feature {
  display: grid;
  grid-column: 1 / -1;
  padding-top: 55px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(35px, 7vw, 95px);
}

.journal-card-feature > a {
  margin: 0;
}

.contact-banner {
  position: relative;
  display: grid;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  place-items: center;
  background: #0f2d29;
}

.contact-image,
.contact-overlay {
  position: absolute;
  inset: 0;
}

.contact-image img {
  height: 100%;
  object-fit: cover;
}

.contact-overlay {
  background: rgba(9, 34, 31, 0.62);
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-inner h2 {
  margin-bottom: 40px;
  font-size: clamp(3.5rem, 7.5vw, 7.6rem);
}

.site-footer {
  padding: 80px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  background: #0d2522;
}

.footer-top {
  display: grid;
  padding-bottom: 70px;
  grid-template-columns: 1fr 0.75fr;
  gap: 80px;
}

.footer-brand img {
  width: min(420px, 100%);
  margin-bottom: 25px;
  padding: 10px;
  background: #fff;
}

.footer-brand p {
  max-width: 450px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-label {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a,
.footer-bottom a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  padding-top: 24px;
  border-top: 1px solid var(--white-line);
  justify-content: space-between;
  gap: 25px;
  font-size: 0.7rem;
}

.footer-bottom > div {
  display: flex;
  gap: 22px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (max-width: 980px) {
  .shell {
    width: min(100% - 40px, 1240px);
  }

  .header-inner {
    min-height: 80px;
  }

  .brand {
    width: 310px;
    max-width: calc(100% - 70px);
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    width: 48px;
    height: 44px;
    padding: 0;
    border: 1px solid currentColor;
    color: inherit;
    background: transparent;
    place-content: center;
    gap: 7px;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle.is-active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    padding: 120px 35px 45px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    color: #fff;
    background: var(--green);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    font-family: var(--display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-nav .nav-cta {
    padding: 0;
    border: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-note {
    display: none;
  }

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

  .intro-copy {
    padding-top: 0;
  }

  .pattern-image {
    max-width: 650px;
  }

  .pattern-image img {
    height: min(760px, 110vw);
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 28px, 1240px);
  }

  .section {
    padding: 80px 0;
  }

  .brand {
    width: 245px;
  }

  .brand img {
    height: 42px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-art img {
    object-position: 62% center;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(8, 28, 26, 0.86), rgba(8, 28, 26, 0.28)),
      linear-gradient(0deg, rgba(8, 28, 26, 0.82), transparent 65%);
  }

  .hero-inner {
    padding-top: 140px;
    padding-bottom: 70px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.35rem, 14.5vw, 4.8rem);
    line-height: 0.9;
  }

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

  .scroll-cue {
    display: none;
  }

  .intro-grid {
    gap: 42px;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .desktop-link {
    display: none;
  }

  .mobile-link {
    display: inline-flex;
    margin-top: 45px;
  }

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

  .work-card:nth-child(n) {
    margin-top: 0;
  }

  .work-image,
  .work-image-square {
    aspect-ratio: 1.15 / 1;
  }

  .work-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .pattern-grid {
    gap: 52px;
  }

  .service-card {
    padding: 28px 5px;
    grid-template-columns: 38px 1fr auto;
    gap: 12px;
  }

  .service-card:hover {
    padding-right: 12px;
    padding-left: 12px;
  }

  .service-card p {
    font-size: 0.88rem;
  }

  .journal-grid,
  .journal-card-feature {
    grid-template-columns: 1fr;
  }

  .journal-card-feature {
    padding-top: 45px;
    gap: 24px;
  }

  .contact-banner {
    min-height: 600px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
