@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&display=swap');

:root {
  --paper: #ffffff;
  --soft: #f7f7f5;
  --ink: #171717;
  --muted: #666666;
  --line: #e7e7e3;
  --line-strong: #d7d7d1;
  --max: 1180px;
  --narrow: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
  line-height: 1;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(1.9rem, 3.1vw, 3.5rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 48px), var(--narrow));
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 118px;
  height: auto;
}

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

.site-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.94rem;
  text-decoration: none;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.section-large {
  padding: clamp(90px, 13vw, 180px) 0;
}

.hero,
.page-hero {
  background: var(--paper);
}

.eyebrow,
.section-label {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 36px;
  color: #3e3e3e;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.button-disabled,
.button-disabled:hover,
.button-disabled:focus-visible {
  border-color: var(--line-strong);
  background: var(--soft);
  color: #929292;
  cursor: not-allowed;
}

.text-link {
  display: inline-block;
  font-size: 0.96rem;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 160ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.section {
  padding: clamp(76px, 10vw, 130px) 0;
}

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

.section-soft {
  background: var(--soft);
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 110px);
}

.prose-large {
  max-width: 760px;
}

.prose-large p {
  margin-bottom: 22px;
  color: #3f3f3f;
  font-size: 1.08rem;
  line-height: 1.75;
}

.prose-large .button,
.prose-large .text-link {
  margin-top: 14px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 70px;
}

.compact-heading {
  margin-bottom: 54px;
}

.three-column,
.four-column {
  display: grid;
  gap: 0;
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-column {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lined-grid article,
.values article {
  padding: 30px 30px 10px 0;
  border-top: 1px solid var(--line-strong);
}

.lined-grid article + article,
.values article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line-strong);
}

.lined-grid p,
.values p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.services-list {
  border-top: 1px solid var(--line-strong);
}

.services-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.services-list article > span {
  padding-top: 4px;
  color: #989898;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.services-list article > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 50px;
}

.services-list h3,
.services-list p {
  margin: 0;
}

.services-list p {
  max-width: 620px;
  color: var(--muted);
}

.draft-note {
  margin: 20px 0 0;
  color: #8a8a8a;
  font-size: 0.8rem;
}

.values article {
  padding-top: 24px;
}

.values h3 {
  font-size: 1.4rem;
}

.contact-cta {
  padding: clamp(80px, 10vw, 130px) 0;
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.cta-inner h2 {
  margin-bottom: 0;
}

.cta-inner > div:last-child {
  max-width: 520px;
}

.cta-inner p:not(.section-label) {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1fr);
  gap: clamp(60px, 10vw, 130px);
}

.contact-line {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.contact-line:last-of-type {
  border-bottom: 1px solid var(--line);
}

.contact-line span,
.contact-line strong {
  display: block;
}

.contact-line span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-line strong {
  font-weight: 400;
}

.contact-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.9rem;
}

.field label span {
  color: var(--muted);
  font-size: 0.8rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.field input {
  min-height: 48px;
  padding: 10px 12px;
}

.field textarea {
  resize: vertical;
  padding: 12px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
}

.contact-form .button {
  justify-self: start;
}

.site-footer {
  padding: 58px 0 48px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.45fr 1fr;
  gap: 50px;
  align-items: start;
}

.site-footer p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .footer-name {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer nav a {
  font-size: 0.88rem;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal {
  max-width: 330px;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 96px;
  }

  .brand img {
    width: 100px;
  }

  .split-intro,
  .cta-inner,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .three-column,
  .four-column {
    grid-template-columns: 1fr 1fr;
  }

  .lined-grid article + article,
  .values article + article {
    padding-left: 0;
    border-left: 0;
  }

  .lined-grid article:nth-child(even),
  .values article:nth-child(even) {
    padding-left: 28px;
    border-left: 1px solid var(--line-strong);
  }

  .services-list article > div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr 0.5fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .shell,
  .narrow {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    min-height: 86px;
    gap: 20px;
  }

  .brand img {
    width: 86px;
  }

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.7rem);
  }

  .section-large {
    padding: 84px 0 90px;
  }

  .section {
    padding: 76px 0;
  }

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

  .three-column,
  .four-column,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .lined-grid article,
  .lined-grid article:nth-child(even),
  .values article,
  .values article:nth-child(even) {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }

  .services-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .footer-legal {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
