:root {
  --ink: #272720;
  --olive: #5b5b38;
  --olive-deep: #45452c;
  --taupe: #a59586;
  --cream: #f6f7ec;
  --paper: #f1f0e8;
  --white: #fffef8;
  --line: rgba(39, 39, 32, 0.2);
  --serif: "Prata", Georgia, serif;
  --sans: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.page-grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.035;
  pointer-events: none;
  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='.8'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 104px;
  padding: 0 clamp(24px, 5vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(39, 39, 32, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 17px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 17px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 44px);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.main-nav a {
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 12px 22px;
  color: var(--cream);
  background: var(--olive);
  border-radius: 100px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
}

.hero {
  min-height: 920px;
  padding: 166px clamp(24px, 8vw, 148px) 90px;
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(420px, 0.8fr);
  gap: clamp(60px, 9vw, 160px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  top: 185px;
  left: -320px;
  border: 1px solid var(--taupe);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--olive);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 36px;
  font-size: clamp(54px, 5.4vw, 94px);
  line-height: 1.07;
}

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

.hero-text {
  max-width: 590px;
  margin-bottom: 38px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.75;
}

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

.button {
  min-height: 58px;
  padding: 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: transform 0.25s ease, background 0.25s ease;
}

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

.button-dark {
  color: var(--cream);
  background: var(--olive);
}

.button-dark:hover {
  background: var(--olive-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.text-link span {
  color: var(--taupe);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 545px);
}

.hero-shape {
  position: absolute;
  z-index: -1;
  width: 92%;
  aspect-ratio: 0.8;
  top: -30px;
  left: -36px;
  background: var(--taupe);
  border-radius: 48% 48% 4px 4px;
}

.hero-photo {
  height: 680px;
  margin: 0;
  overflow: hidden;
  border-radius: 48% 48% 2px 2px;
}

.hero-photo img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.82) contrast(0.96);
}

.hero-note {
  position: absolute;
  left: -118px;
  bottom: 56px;
  width: 224px;
  padding: 24px;
  color: var(--cream);
  background: var(--olive);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 24px 55px rgba(39, 39, 32, 0.18);
}

.hero-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
}

.note-line {
  flex: 0 0 22px;
  height: 1px;
  margin-top: 10px;
  background: var(--taupe);
}

.hero-index {
  position: absolute;
  right: -42px;
  bottom: 20px;
  font-size: 11px;
  writing-mode: vertical-rl;
  letter-spacing: 0.22em;
}

.section {
  padding: 150px clamp(24px, 8vw, 148px);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 92px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-label::after {
  content: "";
  height: 1px;
  max-width: 180px;
  flex: 1;
  background: var(--line);
}

.section-label span {
  color: var(--taupe);
}

.section-label p {
  margin: 0;
}

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

.intro-content {
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(400px, 0.75fr);
  gap: clamp(80px, 13vw, 230px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.principles-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(48px, 5.2vw, 84px);
  line-height: 1.12;
}

.intro-text {
  padding-top: 12px;
  font-size: 17px;
  line-height: 1.85;
}

.intro-text p {
  margin-bottom: 28px;
}

.portrait-break {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--taupe);
}

.portrait-image {
  min-height: 700px;
  overflow: hidden;
}

.portrait-image img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.7);
}

.portrait-break blockquote {
  margin: 0;
  padding: clamp(70px, 10vw, 170px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--cream);
}

.portrait-break blockquote p {
  max-width: 620px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.4;
}

.quote-mark {
  height: 66px;
  color: rgba(246, 247, 236, 0.45);
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
}

.principles {
  color: var(--cream);
  background: var(--olive);
}

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

.section-label-light::after {
  background: rgba(246, 247, 236, 0.24);
}

.principles-heading {
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}

.principles-heading .eyebrow {
  color: var(--taupe);
}

.principles-heading h2 {
  justify-self: end;
}

.principles-heading h2 em {
  color: #c9b8a8;
}

.principle-list {
  margin-left: 22%;
  border-top: 1px solid rgba(246, 247, 236, 0.25);
}

.principle {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 28px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(246, 247, 236, 0.25);
}

.principle-number {
  color: #c9b8a8;
  font-family: var(--serif);
  font-size: 15px;
}

.principle h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
}

.principle p {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(246, 247, 236, 0.72);
}

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

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-card {
  min-height: 390px;
  padding: 46px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: color 0.35s ease, background 0.35s ease;
}

.service-card:nth-child(even) {
  border-right: 0;
}

.service-card:hover {
  color: var(--cream);
  background: var(--olive);
}

.service-top {
  display: flex;
  justify-content: space-between;
  color: var(--taupe);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 560px;
  margin: auto 0 22px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.2;
}

.service-card p {
  max-width: 560px;
  margin-bottom: 28px;
  color: #64645a;
}

.service-card:hover p {
  color: rgba(246, 247, 236, 0.76);
}

.service-card .text-link {
  align-self: flex-start;
}

.articles {
  background: var(--white);
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.article-card {
  min-height: 420px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-top: 4px solid var(--taupe);
  transition: transform 0.3s ease;
}

.article-card:hover {
  transform: translateY(-8px);
}

.article-meta {
  color: var(--olive);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: auto 0 22px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 400;
  line-height: 1.25;
}

.article-card p {
  color: #64645a;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 52px;
  color: #77776d;
  border: 1px solid var(--line);
  text-align: center;
}

.contact {
  min-height: 760px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  color: var(--cream);
  background: var(--olive-deep);
}

.contact-photo {
  overflow: hidden;
}

.contact-photo img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
}

.contact-copy {
  padding: clamp(70px, 10vw, 170px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy .eyebrow {
  color: var(--taupe);
}

.contact h2 em {
  color: #c9b8a8;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin: 38px 0;
  color: rgba(246, 247, 236, 0.75);
  font-size: 17px;
}

.button-light {
  align-self: flex-start;
  color: var(--ink);
  background: var(--cream);
}

.site-footer {
  min-height: 260px;
  padding: 64px clamp(24px, 8vw, 148px);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 40px;
  background: var(--paper);
}

.site-footer > div:first-child {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-monogram {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  font-size: 12px;
}

.footer-copy {
  color: #77776d;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-delay-1 {
  transition-delay: 0.14s;
}

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

@media (max-width: 1050px) {
  .site-header {
    height: 86px;
  }

  .menu-button {
    z-index: 30;
    width: 44px;
    height: 44px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .menu-button span:not(.sr-only) {
    width: 100%;
    height: 1px;
    background: var(--ink);
    transition: transform 0.25s ease;
  }

  .menu-open .menu-button span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-open .menu-button span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    padding: 120px 30px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    font-family: var(--serif);
    font-size: 28px;
  }

  .menu-open .main-nav {
    transform: translateX(0);
  }

  .hero {
    grid-template-columns: 1fr 0.82fr;
    padding-top: 140px;
    gap: 50px;
  }

  .hero-note {
    left: -50px;
  }

  .intro-content {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
  }
}

@media (max-width: 760px) {
  .brand-name {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-top: 132px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(46px, 13vw, 66px);
  }

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

  .hero-visual {
    width: 89%;
    margin-top: 30px;
  }

  .hero-photo {
    height: 530px;
  }

  .hero-note {
    left: -12%;
    bottom: 24px;
  }

  .hero-index {
    display: none;
  }

  .section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .section-label {
    margin-bottom: 58px;
  }

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

  .intro h2,
  .section-heading h2,
  .principles-heading h2,
  .contact h2 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .portrait-break {
    grid-template-columns: 1fr;
  }

  .portrait-image {
    min-height: 520px;
  }

  .portrait-break blockquote {
    padding: 70px 28px;
  }

  .principles-heading {
    margin-bottom: 60px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .principles-heading h2 {
    justify-self: start;
  }

  .principle-list {
    margin-left: 0;
  }

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

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

  .service-card {
    min-height: 340px;
    padding: 32px 24px;
    border-right: 0;
  }

  .articles-header {
    margin-bottom: 60px;
    display: block;
  }

  .articles-header .section-heading {
    margin-bottom: 30px;
  }

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

  .contact-photo {
    height: 520px;
  }

  .contact-copy {
    padding: 90px 28px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

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

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