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

:root {
  --bg: #f3f0e8;
  --ink: #22211f;
  --muted: #5c5852;
  --line: #d4cec2;
  --accent: #8d734b;
  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header-height: 3.7rem;
  --space-section: clamp(3.25rem, 8vw, 6.1rem);
  --gutter: clamp(1.25rem, 4vw, 2.25rem);
  --content-width: 68rem;
  --measure: 40rem;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 0.75rem);
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: break-word;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 40;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.page {
  min-height: 100vh;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.site-header,
.site-main,
.site-footer {
  min-width: 0;
  width: 100%;
}

.site-main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.rule {
  width: 2.75rem;
  height: 1px;
  background: var(--accent);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.section-header {
  margin-bottom: clamp(1.45rem, 3.6vw, 2.35rem);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn-primary {
  padding: 0.7rem 1.35rem;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn-text {
  padding: 0.7rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}

.btn-text:hover {
  color: var(--accent);
}

.btn:focus-visible,
.wordmark:focus-visible,
.site-nav a:focus-visible,
.project-link:focus-visible,
.case-media:focus-visible,
.footer-contact a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content-width);
  height: 100%;
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.wordmark {
  position: relative;
  z-index: 22;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.nav-toggle {
  position: relative;
  z-index: 22;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.nav-toggle-bar:first-child {
  transform: translate(-50%, -3.5px);
}

.nav-toggle-bar:last-child {
  transform: translate(-50%, 3.5px);
}

.nav-open .nav-toggle-bar:first-child {
  transform: translate(-50%, 0) rotate(45deg);
}

.nav-open .nav-toggle-bar:last-child {
  transform: translate(-50%, 0) rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav a {
  text-decoration: none;
}

.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  position: fixed;
  inset: 0;
  z-index: 21;
  padding: 5rem var(--gutter) 2rem;
  background: var(--bg);
}

.nav-open .site-nav a {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav-open {
  overflow: hidden;
}

.hero {
  padding: clamp(2.9rem, 7.2vw, 5.4rem) 0 clamp(3.25rem, 8.5vw, 5.8rem);
}

.hero-inner {
  max-width: 46rem;
  min-width: 0;
}

.hero-inner .rule {
  margin-bottom: 1.35rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 7.2vw, 3.35rem);
}

.hero-lead {
  max-width: 36rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem 1.6rem;
  margin-top: 1.75rem;
}

.work-list {
  display: grid;
  gap: 0;
}

.work-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.work-item:last-child {
  padding-bottom: 0;
}

.work-index {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.work-item h3 {
  margin-bottom: 0.55rem;
  font-size: 1.4rem;
}

.work-item p {
  color: var(--muted);
}

.project-layout {
  display: grid;
  gap: 1.75rem;
}

.project-copy .eyebrow {
  margin-bottom: 0.5rem;
}

.project-copy h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.project-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.28rem, 2.4vw, 1.55rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.project-note {
  margin-top: 0.9rem;
  color: var(--muted);
}

.project-link {
  position: relative;
  z-index: 5;
  display: inline-block;
  margin-top: 1.15rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  pointer-events: auto;
}

.project-link:hover {
  color: var(--accent);
}

.project-visual {
  margin: 0;
  width: 100%;
  min-width: 0;
  pointer-events: none;
}

.project-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(34, 33, 31, 0.12);
  box-shadow: 0 6px 16px rgba(34, 33, 31, 0.035);
}

.about-grid h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.about-copy {
  max-width: 38rem;
  display: grid;
  gap: 0.85rem;
}

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

.about-copy p:first-child {
  color: var(--ink);
  font-size: 1.12rem;
}

.about-sign {
  width: 119px;
  max-width: 100%;
  margin-top: calc(0.7rem - 24px);
  justify-self: start;
}

.about-sign img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.72;
  filter: contrast(0.88) brightness(1.08);
}

.cta {
  padding: clamp(2.85rem, 6.5vw, 4.75rem) 0;
  border-top: 1px solid var(--line);
}

.cta-inner {
  max-width: var(--measure);
}

.cta-inner .rule {
  margin-bottom: 1.2rem;
}

.cta h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.55rem);
}

.cta-lead {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--muted);
}

.cta .btn {
  margin-top: 1.5rem;
  min-height: 3rem;
}

.site-footer {
  padding: 1.35rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
}

.footer-contact p {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.footer-contact a:hover {
  color: var(--accent);
}

.case-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}

.case-hero {
  padding: clamp(2.2rem, 5.5vw, 4.2rem) 0 clamp(2.4rem, 6vw, 4.4rem);
}

.case-page .section {
  padding: clamp(2.15rem, 5.4vw, 4.1rem) 0;
}

.case-page .cta {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
}

.case-hero .hero-lead {
  max-width: 38rem;
}

.case-prose {
  max-width: var(--measure);
}

.case-prose h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

.case-prose p {
  color: var(--muted);
}

.case-pair {
  display: grid;
  gap: 2.5rem;
}

.case-index {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-index li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

.case-index li:last-child {
  border-bottom: 1px solid var(--line);
}

.case-block {
  display: grid;
  gap: 1.5rem;
}

.case-copy h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
}

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

.case-copy p + p {
  margin-top: 0.85rem;
}

.case-media {
  margin: 0;
  min-width: 0;
}

.case-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(34, 33, 31, 0.12);
  box-shadow: 0 10px 28px rgba(34, 33, 31, 0.06);
}

.case-media--device {
  width: 100%;
  min-width: 0;
}

.case-modules {
  display: grid;
  gap: 1.35rem;
}

.case-modules .section-header {
  margin-bottom: 0.85rem;
}

.case-modules .case-index li {
  padding-block: 0.42rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.25rem 2rem;
  }

  .cta .btn {
    min-height: 2.85rem;
  }
}

@media (min-width: 1040px) {
  .nav-toggle {
    display: none;
  }

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

  .site-nav a {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
  }

  .site-nav a:hover {
    color: var(--ink);
  }

  .site-nav a + a {
    margin-left: 1.05rem;
    padding-left: 1.05rem;
    border-left: 1px solid var(--line);
  }

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

  .work-item {
    display: flex;
    flex-direction: column;
    padding: 0 1.6rem;
    border-top: 0;
  }

  .work-item:first-child {
    padding-left: 0;
  }

  .work-item:last-child {
    padding-right: 0;
  }

  .work-item + .work-item {
    border-left: 1px solid var(--line);
  }

  .project-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.75rem;
    align-items: center;
  }

  .project-copy {
    padding-block: 0.15rem;
  }

  .project-visual {
    min-height: 0;
    width: 100%;
  }

  .project-visual img {
    width: 123%;
    max-width: 123%;
  }

  .about-grid {
    display: grid;
    grid-template-columns: minmax(10rem, 0.62fr) minmax(0, 1.38fr);
    gap: 1.5rem 3rem;
    align-items: start;
  }

  .about-grid h2 {
    margin-bottom: 0;
  }

  .about-sign {
    width: 140px;
    justify-self: end;
    margin-right: 1.25rem;
  }

  .case-media--device {
    width: min(100%, 18.75rem);
    justify-self: center;
  }

  .case-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 2.25rem;
    align-items: center;
  }

  .case-block--reverse {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  }

  .case-block--reverse .case-copy {
    order: 2;
  }

  .case-block--reverse .case-media {
    order: 1;
  }

  .case-block--web {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  }

  .case-block--web.case-block--reverse {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  }

  .case-modules {
    grid-template-columns: minmax(0, 1.15fr) auto;
    gap: 2.25rem;
    align-items: center;
  }

  .case-modules .case-index {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .case-modules .case-index li:last-child {
    grid-column: auto;
  }

  .case-index {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }

  .case-index li:last-child {
    grid-column: 1 / -1;
  }

  .case-pair {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 3.5rem;
  }
}

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

  .nav-toggle-bar {
    transition: none;
  }
}
