:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --paper-deep: #f0eeea;
  --ink: #252a33;
  --muted: #6c7076;
  --line: #dedbd5;
  --accent: #94413b;
  --accent-dark: #77312c;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.5rem;
  background: var(--ink);
  color: white;
}

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

.section-wrap {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(1.5rem, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgb(37 42 51 / 7%);
  background: rgb(248 247 244 / 94%);
  backdrop-filter: blur(14px);
}

.wordmark {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.site-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.site-nav a,
.back-to-top {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 160ms ease;
}

.site-nav a:hover,
.back-to-top:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 690px;
  align-content: center;
  padding-block: 7rem 6rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 900px;
  margin-bottom: 0.55rem;
  font-size: clamp(4rem, 10vw, 7.4rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.17;
}

h2 em {
  color: var(--accent);
  font-weight: 500;
}

.hero-role {
  margin: 0.75rem 0 1rem;
  color: #555d67;
  font-size: clamp(1.2rem, 2.7vw, 1.65rem);
}

.hero-intro {
  max-width: 710px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  box-shadow: 0 3px 0 rgb(37 42 51 / 10%), 0 7px 18px rgb(37 42 51 / 7%);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgb(37 42 51 / 8%), 0 10px 22px rgb(37 42 51 / 9%);
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2rem;
}

.social-links a {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--accent);
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 3rem;
  display: flex;
  width: min(320px, 30%);
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(255 255 255 / 64%);
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.hero-note strong {
  color: var(--ink);
  font-weight: 600;
}

.note-mark {
  color: var(--accent);
  font-size: 1.2rem;
}

.content-section {
  padding-block: 6.5rem;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-description {
  max-width: 580px;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.about-lead {
  max-width: 460px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.35;
}

.about-copy {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.principles article {
  max-width: 270px;
}

.principle-number {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.principles h3,
.timeline h3,
.project-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.principles p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.timeline-content {
  max-width: 650px;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline-content .timeline-org {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-weight: 600;
}

.work-section {
  background: var(--paper-deep);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  padding: 1rem 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
}

.project-art {
  position: relative;
  display: flex;
  min-height: 230px;
  overflow: hidden;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.1rem;
  border-radius: 0.65rem;
  color: rgb(37 42 51 / 70%);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.art-one {
  background: #e8d7ce;
}

.art-two {
  background: #d9e0dc;
}

.art-shape {
  position: absolute;
  right: 13%;
  bottom: -30%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgb(148 65 59 / 50%);
  border-radius: 48% 52% 36% 64%;
  transform: rotate(-22deg);
}

.art-shape::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgb(148 65 59 / 50%);
  border-radius: 48% 52% 36% 64%;
  content: "";
}

.art-two .art-shape {
  right: 19%;
  bottom: -44%;
  width: 62%;
  border-color: rgb(37 42 51 / 40%);
  border-radius: 50%;
  transform: rotate(24deg);
}

.art-two .art-shape::after {
  border-color: rgb(37 42 51 / 40%);
  border-radius: 50%;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  margin: 1.1rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.project-card h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.project-card > p {
  min-height: 3.5rem;
  color: var(--muted);
}

.now-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 4rem;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
}

.now-card .eyebrow {
  margin-bottom: 0.65rem;
}

.now-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.now-card > p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  padding-block: 7rem;
  background: var(--ink);
  color: white;
}

.contact-inner {
  max-width: 800px;
  text-align: center;
}

.contact-inner h2 {
  margin-bottom: 1rem;
}

.contact-inner h2 em {
  color: #dfaaa2;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 550px;
  margin: 0 auto 1.8rem;
  color: #c5c8cd;
}

.contact-inner .eyebrow {
  color: #dfaaa2;
}

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

.site-footer {
  display: flex;
  min-height: 100px;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

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

:focus-visible {
  outline: 3px solid #bd6c5e;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .section-wrap {
    width: min(100% - 2rem, 560px);
  }

  .site-header {
    min-height: 68px;
    padding-inline: 1rem;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 0.6rem;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 0.55rem 0;
  }

  .hero {
    min-height: auto;
    padding-block: 6rem 5rem;
  }

  .hero-note {
    position: static;
    width: 100%;
    max-width: 380px;
    margin-top: 2.5rem;
  }

  .content-section {
    padding-block: 4.75rem;
  }

  .about-grid,
  .now-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .principles article {
    max-width: 440px;
  }

  .principle-number {
    margin-bottom: 0.5rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  .project-art {
    min-height: 190px;
  }

  .contact-section {
    padding-block: 5rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 3.6rem;
  }

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

  .button {
    width: 100%;
  }

  .site-footer {
    padding-block: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
