:root {
  --paper: #f3eee5;
  --paper-deep: #e8ded0;
  --ink: #1b211d;
  --muted: #62675f;
  --accent: #b64e3b;
  --accent-soft: #e8a28d;
  --sage: #5f7564;
  --line: rgba(27, 33, 29, 0.18);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 5%, rgba(232, 162, 141, 0.18), transparent 29rem),
    radial-gradient(circle at 92% 68%, rgba(95, 117, 100, 0.13), transparent 31rem);
  z-index: -2;
}

.grain {
  position: fixed;
  inset: 0;
  opacity: .035;
  z-index: 20;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

a { color: inherit; }
button { font: inherit; }

.site-header {
  width: min(1180px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.monogram {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.08em;
  text-decoration: none;
}
.monogram span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 34px; }
nav a {
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-decoration: none;
}
nav a:not(.nav-contact) { color: var(--muted); }
nav a:not(.nav-contact):hover { color: var(--ink); }
.nav-contact {
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  transition: background .25s ease, color .25s ease;
}
.nav-contact:hover { background: var(--ink); color: var(--paper); }

main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.42fr .58fr;
  align-items: center;
  gap: 7vw;
  padding: 88px 0 90px;
}

.eyebrow, .label {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 7.2vw, 7.1rem);
  line-height: .91;
  letter-spacing: -.065em;
}
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.hero-intro {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.27rem);
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 20px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 720;
  letter-spacing: .035em;
  text-decoration: none;
  transition: transform .25s ease, background .25s ease;
}
.primary-action:hover { transform: translateY(-2px); background: var(--accent); }
.primary-action span { font-size: 1.1rem; }

.hero-mark {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero-mark::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: .72;
}
.initials {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 9vw, 8.5rem);
  font-style: italic;
  letter-spacing: -.16em;
  transform: translateX(-.06em);
}
.initials span { color: var(--paper); }
.hero-mark p {
  position: absolute;
  right: -12%;
  bottom: 13%;
  z-index: 3;
  margin: 0;
  padding: 11px 15px;
  color: var(--paper);
  background: var(--sage);
  font-family: var(--serif);
  font-size: .85rem;
  font-style: italic;
  line-height: 1.3;
  transform: rotate(-4deg);
}
.orbit {
  position: absolute;
  inset: -7%;
  border: 1px dashed rgba(27, 33, 29, .28);
  border-radius: 48% 52% 49% 51%;
  animation: rotate 34s linear infinite;
}
.orbit-two { inset: 7%; animation-direction: reverse; animation-duration: 24s; }
@keyframes rotate { to { transform: rotate(360deg); } }

.work { padding: 110px 0 130px; border-top: 1px solid var(--line); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: end;
  margin-bottom: 55px;
}
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin-bottom: 0; font-size: clamp(2.8rem, 5vw, 5.3rem); line-height: .98; letter-spacing: -.05em; }
.section-heading > p { max-width: 490px; margin-bottom: 4px; color: var(--muted); }
.projects { display: grid; gap: 30px; }
.project-card {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(250, 247, 241, .68);
}
.project-number {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 3;
  color: rgba(255,255,255,.72);
  font-family: var(--serif);
  font-size: .9rem;
}
.project-visual { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; }
.project-amazon .project-visual { background: #b95442; }
.project-amazon .project-visual::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border: 1px dashed rgba(255,255,255,.37); border-radius: 50%; transform: translate(-30%, 30%); }
.project-elder .project-visual { background: #657968; }
.elder-visual::before { content: ""; position: absolute; width: 75%; aspect-ratio: 1; border: 1px dashed rgba(255,255,255,.38); border-radius: 50%; transform: translate(17%, 11%); }
.shopbop-showcase { position: relative; z-index: 1; width: min(93%, 520px); display: grid; gap: 14px; color: #fff9f2; text-align: center; }
.shopbop-showcase-label { margin: 0; font-size: .75rem; font-weight: 720; letter-spacing: .11em; text-transform: uppercase; }
.shopbop-showcase a { display: block; transition: transform .2s ease; }
.shopbop-showcase a:hover, .shopbop-showcase a:focus-visible { transform: translateY(-5px); }
.shopbop-showcase img { display: block; width: 100%; height: auto; box-shadow: 0 22px 30px rgba(51, 20, 16, .25); }
.shopbop-showcase > span { font-family: var(--serif); font-size: 1rem; font-style: italic; }
.shopbop-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.shopbop-process a { min-width: 0; padding: 6px; border: 1px solid var(--line); color: var(--ink); font-size: .75rem; font-weight: 650; text-align: center; text-decoration: none; }
.shopbop-process a:hover, .shopbop-process a:focus-visible { border-color: var(--accent); }
.shopbop-process img { display: block; width: 100%; height: 80px; margin-bottom: 5px; object-fit: contain; background: #fff; }
.shopbop-process span { display: block; }
.elder-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(8px, 1.25vw, 17px);
  width: min(91%, 500px);
  margin: auto;
  padding: 45px 0 25px;
}
.elder-gallery-label { grid-column: 1 / -1; margin: 0 0 2px; color: #f8f4e9; font-size: .63rem; font-weight: 740; letter-spacing: .15em; text-align: center; text-transform: uppercase; }
.elder-shot { display: flex; min-width: 0; flex-direction: column; gap: 10px; color: #f8f4e9; text-align: center; text-decoration: none; transition: transform .2s ease; }
.elder-shot:hover, .elder-shot:focus-visible { transform: translateY(-7px); }
.elder-shot-main { transform: translateY(-12px); }
.elder-shot-main:hover, .elder-shot-main:focus-visible { transform: translateY(-19px); }
.elder-shot img { display: block; width: 100%; height: auto; aspect-ratio: 922 / 2048; object-fit: cover; border: 3px solid #e9e9f8; border-radius: 14px; box-shadow: 9px 14px 20px rgba(14, 33, 19, .22); }
.elder-shot span { font-size: .62rem; font-weight: 730; letter-spacing: .07em; text-transform: uppercase; }
.project-copy { padding: clamp(35px, 5vw, 75px); align-self: center; }
.project-meta { display: flex; gap: 16px; margin-bottom: 18px; color: var(--accent); font-size: .69rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.project-meta span + span::before { content: "·"; margin-right: 16px; color: var(--muted); }
.project-copy h3 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.project-copy > p { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.details-toggle { margin: 8px 0 0; padding: 10px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); cursor: pointer; font-size: .78rem; font-weight: 720; letter-spacing: .04em; }
.details-toggle span { display: inline-block; margin-left: 8px; color: var(--accent); font-size: 1.15rem; transition: transform .2s ease; }
.details-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.project-details { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s ease, opacity .35s ease; }
.project-details.open { grid-template-rows: 1fr; opacity: 1; }
.project-details > * { overflow: hidden; }
.project-details ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .9rem; }
.project-details.open ul { margin-top: 18px; }
.details-body > p { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }
.details-body strong { color: var(--ink); }
.details-body li + li { margin-top: 6px; }
.flow-label { margin-top: 20px; color: var(--accent); font-size: .65rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.case-flow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.case-flow span { padding: 5px 8px; background: var(--paper-deep); border-radius: 2px; font-size: .65rem; font-weight: 630; }
.project-link { display: inline-flex; gap: 15px; align-items: center; margin-top: 18px; color: var(--accent); font-size: .8rem; font-weight: 740; text-underline-offset: 4px; }
.project-link:hover { color: var(--ink); }
.project-link span { font-size: 1rem; }
.shopbop-resources { display: flex; flex-wrap: wrap; column-gap: 22px; }
.elder-resources { display: flex; flex-wrap: wrap; column-gap: 22px; }
.project-note { margin: 10px 0 0 !important; color: var(--muted) !important; font-size: .68rem !important; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.tags span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: .68rem; font-weight: 600; }

.about {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 10vw;
  padding: 125px 0;
  border-top: 1px solid var(--line);
}
.about h2 { margin-bottom: 35px; }
.about-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.about-copy strong { color: var(--ink); font-weight: 650; }
.about-side { align-self: end; }
.education, .capabilities { padding: 0 0 28px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.about-side .label { margin-bottom: 13px; }
.education h3 { margin-bottom: 5px; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.education p:last-child { margin: 0; color: var(--muted); }
.capability-list { display: flex; flex-wrap: wrap; gap: 8px; }
.capability-list span { padding: 6px 12px; background: var(--paper-deep); border-radius: 3px; font-size: .75rem; font-weight: 620; }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 24px;
  color: var(--paper);
  background: var(--ink);
}
.contact-card { scroll-margin-top: 32px; }
.contact-card strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.contact-card small { display: block; margin-bottom: 4px; color: var(--accent-soft); font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.email-address { display: inline-block; margin-top: 13px; color: var(--paper); font-size: .88rem; text-underline-offset: 4px; }
.email-address:hover { color: var(--accent-soft); }
.copy-email { padding: 10px 14px; border: 1px solid var(--paper); border-radius: 100px; color: var(--paper); background: transparent; cursor: pointer; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.copy-email:hover, .copy-email:focus-visible { color: var(--ink); background: var(--paper); }
.copy-feedback { grid-column: 1 / -1; color: var(--accent-soft); font-size: .78rem; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 70px; padding: 90px 0 105px; }
  .hero-mark { width: min(380px, 85%); margin: 0 auto; }
  .section-heading, .about { grid-template-columns: 1fr; }
  .section-heading { gap: 26px; }
  .project-card { grid-template-columns: 1fr; }
  .project-visual { min-height: 390px; }
  .project-copy { padding: 45px 30px 55px; }
  .about { gap: 75px; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 30px, 1180px); }
  .site-header { height: 72px; }
  nav { gap: 16px; }
  nav a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 8px 13px; }
  .hero { padding-top: 70px; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.7rem); }
  .hero-mark p { right: -2%; }
  .work, .about { padding: 90px 0; }
  .project-visual { min-height: 330px; }
  .shopbop-showcase { width: 93%; }
  .shopbop-process { gap: 6px; }
  .shopbop-process a { font-size: .75rem; }
  .elder-gallery { width: 92%; padding: 36px 0 20px; }
  .elder-shot img { border-width: 2px; border-radius: 9px; }
  .elder-shot span { font-size: .55rem; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
