:root {
  --bg: #faf8f6;
  --muted-bg: #f4f2ef;
  --text: #2d2d2d;
  --secondary: #767370;
  --accent: #d97540;
  --accent-text: #a84f24;
  --rule: #e8e4df;
  --page-max: 1280px;
  --content-max: 1067px;
  --inset: clamp(24px, 6.5vw, 80px);
  --section-y: clamp(72px, 8.75vw, 112px);
  --body-size: clamp(1rem, 0.96rem + 0.16vw, 1.125rem);
  --body-leading: 1.8;
  --serif: "Tinos", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  display: block;
  height: 64px;
}

a {
  color: inherit;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-text);
  text-decoration-color: currentColor;
}

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

p,
h1,
h2,
h3,
blockquote,
dl,
dd {
  margin: 0;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding-right: max(var(--inset), calc((100vw - var(--page-max)) / 2 + var(--inset)));
  padding-left: max(var(--inset), calc((100vw - var(--page-max)) / 2 + var(--inset)));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.nav-link {
  color: var(--secondary);
  font-size: 0.875rem;
  line-height: 1.45;
}

main,
.site-footer {
  width: min(100%, var(--page-max));
  margin: 0 auto;
}

.section-shell {
  padding: var(--section-y) var(--inset);
}

.section-shell > * {
  max-width: var(--content-max);
}

.muted {
  background: var(--muted-bg);
  box-shadow: 0 0 0 100vmax var(--muted-bg);
  clip-path: inset(0 -100vmax);
}

.divider {
  width: calc(100% - (var(--inset) * 2));
  height: 1px;
  margin: 0 auto;
  background: var(--rule);
}

.accent-rule {
  width: 80px;
  height: 2px;
  background: var(--accent);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--accent-text);
  font-size: 0.75rem;
  line-height: 1.34;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-label span {
  display: inline-block;
  width: 24px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--accent);
}

h1,
h2,
h3,
.person-heading span:first-child {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  font-size: clamp(4.25rem, 2.56rem + 7.18vw, 6.75rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 580px;
  padding-top: 48px;
  font-size: clamp(2rem, 1.65rem + 1.48vw, 2.454rem);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.35;
}

.hero {
  padding-top: clamp(96px, 13vw, 176px);
  padding-bottom: clamp(96px, 11vw, 144px);
}

.hero-content {
  display: grid;
  max-width: var(--content-max);
  grid-template-columns: minmax(0, 1fr) 6px;
  gap: 64px;
}

.hero-rule {
  margin-top: 20px;
}

.hero-subtitle {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(2rem, 1.72rem + 1.18vw, 2.25rem);
  line-height: 1.35;
}

.hero-intro {
  max-width: 672px;
  margin-top: 48px;
  color: var(--text);
  font-size: clamp(1rem, 0.91rem + 0.38vw, 1.125rem);
  line-height: 1.8;
}

.hero-intro p + p {
  margin-top: 20px;
}

.hero-marker {
  display: flex;
  min-height: 465px;
  align-items: end;
  justify-content: center;
  padding-bottom: 8px;
}

.hero-marker::before {
  content: "";
  display: block;
  width: 1px;
  height: 180px;
  background: var(--rule);
}

.hero-marker span {
  width: 6px;
  height: 6px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--accent);
}

.known-grid {
  display: grid;
  max-width: 1024px;
  grid-template-columns: repeat(2, minmax(0, 480px));
  gap: 40px 64px;
  padding-top: 48px;
}

.text-card p,
.person p,
.partners > p,
.work-layout > div:first-child p,
.portfolio-intro,
.portfolio-list p,
.values-grid p {
  color: var(--secondary);
}

.text-card p {
  padding-top: 8px;
  font-size: 1rem;
  line-height: 1.8;
}

.narrow-stack {
  max-width: 768px;
  padding-top: 56px;
}

.subsection-title {
  padding-top: 0;
  font-size: clamp(1.85rem, 1.72rem + 0.53vw, 1.994rem);
  line-height: 1.25;
}

.person-with-image {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 40px;
  padding-top: 48px;
}

.person-with-image img {
  width: 160px;
  height: 160px;
  background: var(--rule);
  object-fit: cover;
}

.person-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  line-height: 1.35;
}

.person-heading span:first-child {
  color: var(--text);
  font-size: 1.125rem;
}

.person-heading span:last-child {
  color: var(--secondary);
  font-size: 0.875rem;
  line-height: 1.4;
}

.person p:not(.person-heading),
.person > p {
  padding-top: 4px;
  font-size: 1rem;
  line-height: 1.85;
}

.person-with-image p:not(.person-heading) {
  padding-top: 8px;
}

.note-callout,
.story-quote {
  border-left: 2px solid var(--accent);
}

.note-callout {
  margin-top: 48px;
  padding: 16px 0 16px 26px;
  font-style: italic;
}

.note-callout p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
}

.note-callout strong {
  font-style: normal;
  font-weight: 500;
}

.partners {
  margin-top: 56px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
}

.partners > p {
  max-width: 560px;
  padding-top: 16px;
  font-size: 1rem;
  line-height: 1.85;
}

.partners .person {
  max-width: 672px;
  padding-top: 40px;
}

.values-grid {
  display: grid;
  max-width: 1024px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 48px;
  padding-top: 48px;
}

.values-grid article > span {
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 12px;
  background: var(--accent);
}

.values-grid p {
  padding-top: 12px;
  font-size: 0.875rem;
  line-height: 1.8;
}

.work-layout {
  display: grid;
  max-width: 1152px;
  grid-template-columns: minmax(280px, 411px) minmax(0, 576px);
  gap: 48px 80px;
  padding-top: 48px;
  align-items: start;
}

.work-layout h2 {
  padding-top: 0;
}

.work-layout > div:first-child {
  position: sticky;
  top: 104px;
  align-self: start;
}

.work-layout > div:first-child p {
  max-width: 320px;
  padding-top: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.steps article {
  border-left: 2px solid var(--rule);
  padding: 4px 0 4px 26px;
}

.steps article + article {
  margin-top: 36px;
}

.steps p {
  max-width: 550px;
  padding-top: 8px;
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.portfolio-intro {
  max-width: 600px;
  padding-top: 48px;
  font-size: 1rem;
  line-height: 1.8;
}

.portfolio-intro p + p {
  padding-top: 40px;
}

.portfolio-list {
  max-width: 896px;
  margin-top: 40px;
  border-bottom: 1px solid var(--rule);
}

.portfolio-list article {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 40px;
  padding: 37px 0 36px;
  border-top: 1px solid var(--rule);
}

.portfolio-list time {
  padding-top: 4px;
  color: var(--accent-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.portfolio-list h3 {
  max-width: 776px;
}

.portfolio-list p {
  max-width: 580px;
  padding-top: 12px;
  font-size: 1rem;
  line-height: 1.8;
}

.story > * {
  max-width: 896px;
}

.story h2 {
  max-width: 480px;
}

.story-quote {
  margin-top: 48px;
  padding: 20px 0 20px 34px;
}

.story-quote p {
  max-width: 862px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.85;
}

.story-quote strong {
  font-style: normal;
  font-weight: 700;
}

.story-copy {
  max-width: 640px;
  padding-top: 48px;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.85;
}

.contact {
  padding-top: clamp(88px, 11.25vw, 144px);
  padding-bottom: clamp(88px, 11.25vw, 144px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 493px) minmax(0, 493px);
  gap: 56px 80px;
}

.contact h2 {
  padding-top: 0;
  font-size: clamp(3.4rem, 2.55rem + 3.62vw, 4.218rem);
  line-height: 1;
}

.contact-rule {
  width: 64px;
  margin-top: 20px;
}

.contact-layout > div > p {
  max-width: 400px;
  padding-top: 32px;
  line-height: 1.8;
}

address {
  padding-top: 16px;
  font-style: normal;
}

.contact-group + .contact-group {
  margin-top: 36px;
}

.contact-group > p {
  color: var(--secondary);
  font-size: 0.75rem;
  line-height: 1.34;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-group > a {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.contact dl {
  margin-top: 16px;
}

.contact dl div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 32px;
}

.contact dl div + div {
  margin-top: 12px;
}

.contact dt,
.contact dd {
  color: var(--secondary);
  font-size: 0.875rem;
  line-height: 1.43;
}

.contact dd a {
  color: var(--text);
}

.confidentiality {
  margin-top: 36px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
  color: var(--secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  min-height: 101px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px var(--inset);
  border-top: 1px solid var(--rule);
  color: var(--secondary);
  font-size: 0.875rem;
  line-height: 1.43;
}

.site-footer div {
  display: flex;
  gap: 32px;
}

@media (max-width: 900px) {
  .known-grid,
  .values-grid,
  .work-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .known-grid {
    max-width: 640px;
    gap: 32px;
  }

  .values-grid {
    max-width: 680px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-layout {
    max-width: 720px;
  }

  .work-layout > div:first-child {
    position: static;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-marker {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --inset: clamp(20px, 6.4vw, 28px);
    --section-y: 64px;
  }

  body::before {
    height: 56px;
  }

  .site-header {
    height: 56px;
  }

  .nav-link {
    font-size: 0.8125rem;
  }

  .section-label {
    align-items: flex-start;
    gap: 14px;
    line-height: 1.45;
  }

  .section-label span {
    margin-top: 7px;
  }

  h1 {
    font-size: clamp(3.7rem, 17vw, 4.25rem);
  }

  h2 {
    padding-top: 34px;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 72px;
  }

  .hero-subtitle {
    margin-top: 20px;
    font-size: clamp(1.85rem, 8vw, 2.1rem);
  }

  .hero-intro,
  .known-grid,
  .values-grid,
  .portfolio-intro,
  .story-copy {
    margin-top: 0;
    padding-top: 36px;
  }

  .person-with-image {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 20px;
  }

  .person-with-image img {
    width: 104px;
    height: 104px;
  }

  .person-heading {
    display: block;
  }

  .person-heading span {
    display: block;
  }

  .person-heading span:last-child {
    margin-top: 2px;
  }

  .note-callout,
  .story-quote {
    padding-left: 22px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps article {
    padding-left: 20px;
  }

  .portfolio-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 30px 0;
  }

  .portfolio-list time {
    padding-top: 0;
  }

  .contact dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact dl div + div {
    margin-top: 16px;
  }

  .site-footer {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .person-with-image {
    grid-template-columns: 1fr;
  }

  .person-with-image img {
    width: 132px;
    height: 132px;
  }
}
