:root {
  color-scheme: light;
  --paper: #f6f1e8;
  --ink: #271f1a;
  --muted: #60544b;
  --red: #822b29;
  --line: #d7cabe;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.shell { width: min(100% - 7rem, 1232px); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; justify-self: start; text-decoration: none; font: 1.23rem/1.1 var(--serif); white-space: nowrap; }
.brand small { display: block; margin-top: .35rem; font: 600 .68rem var(--sans); letter-spacing: .13em; color: var(--muted); }
.monogram { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font-size: .97rem; }
.header-inner nav { display: flex; gap: clamp(1.2rem,4vw,3rem); }
.header-inner nav a, .header-contact { font-size: .91rem; text-decoration: none; }
.header-inner nav a:hover, footer a:hover { color: var(--red); text-decoration: underline; }
.header-contact { justify-self: end; border: 1px solid var(--red); color: var(--red); border-radius: 2px; padding: .55rem 1.05rem; }
.header-contact:hover { background: var(--red); color: white; }
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
  isolation: isolate;
  margin-block: 1.4rem 1.3rem;
}
.hero-copy {
  grid-area: 1 / 1 / 2 / 8;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 2rem 2.7rem 0;
}
.eyebrow { font-size: .78rem; font-weight: 680; letter-spacing: .13em; color: var(--red); }
.eyebrow span { display: inline-block; vertical-align: middle; width: 1.55rem; height: 1px; margin-right: .55rem; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.hero-copy h2 { margin: .9rem 0 1.2rem; font-size: clamp(4.5rem,9vw,8.5rem); line-height: .87; letter-spacing: -.071em; }
h2 { font-size: clamp(2.85rem,5.25vw,5.2rem); line-height: .99; letter-spacing: -.055em; }
h3 { font-size: clamp(1.6rem,2.4vw,2.2rem); line-height: 1.12; letter-spacing: -.025em; }
h1 em, h2 em { color: var(--red); font-weight: 400; }
.hero-intro { max-width: 32ch; color: var(--muted); font-size: clamp(1.03rem,1.45vw,1.22rem); }
.hero-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.35rem; }
.button { display: inline-block; padding: .72rem 1.16rem; background: var(--red); color: white; border-radius: 2px; font-size: .9rem; font-weight: 620; text-decoration: none; }
.button:hover { background: #601b1a; }
.text-link { width: fit-content; color: var(--red); font-size: .9rem; font-weight: 640; text-underline-offset: .3em; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-photo {
  grid-area: 1 / 5 / 2 / -1;
  position: relative;
  min-height: clamp(425px, 44vw, 560px);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--paper), var(--paper) 4%, rgb(246 241 232 / 92%) 16%, rgb(246 241 232 / 54%) 30%, transparent 52%),
    linear-gradient(270deg, var(--paper), transparent 9%),
    linear-gradient(0deg, var(--paper), transparent 17%),
    linear-gradient(180deg, var(--paper), transparent 12%);
}
.hero-photo img { position: absolute; inset: 0; object-position: center 53%; }
.hero-photo figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; color: var(--muted); font-size: .76rem; }
.topics { border-block: 1px solid var(--line); }
.topic-links { display: flex; justify-content: space-between; gap: 1.2rem; padding-block: .85rem; }
.topic-links a { flex: 1; text-align: center; font: 1.15rem var(--serif); text-decoration: none; }
.topic-links a + a { border-left: 1px solid var(--line); }
.topic-links a:hover { color: var(--red); text-decoration: underline; }
.section { padding-block: clamp(3.75rem,7vw,6.6rem); }
.section-head { display: grid; grid-template-columns: 1.65fr 1fr; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-head h2, .contact h2, .wine h2 { margin-top: .5rem; }
.section-head > p { color: var(--muted); max-width: 37ch; padding-bottom: .12rem; }
.portfolio-grid, .article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.project figure { aspect-ratio: 1.45; overflow: hidden; background: var(--line); margin-bottom: 1.15rem; }
.project img { transition: transform .3s ease; }
.project:hover img { transform: scale(1.035); }
.project h3 { margin-top: .4rem; }
.project > p:not(.eyebrow) { margin: .5rem 0 .65rem; color: var(--muted); }
.archive-note { margin-top: 1.4rem; color: var(--muted); font-size: .8rem; }
.journal { background: #ebe2d5; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filters button { border: 1px solid #aa9687; border-radius: 30px; background: transparent; padding: .36rem .9rem; color: var(--ink); font-size: .9rem; cursor: pointer; }
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button[aria-pressed=true] { border-color: var(--red); background: var(--red); color: white; }
.article { min-height: 225px; padding: 1.35rem; background: var(--paper); border-top: 2px solid var(--red); display: flex; align-items: start; flex-direction: column; gap: .55rem; }
.article h3 { font-size: 1.65rem; }
.article p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.article .text-link { margin-top: auto; padding-top: .4rem; }
.wine { background: #552523; color: #fff4e8; }
.wine-inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 2rem; padding-block: clamp(3rem,6vw,5.5rem); }
.wine h2 em, .wine .eyebrow, .wine .text-link { color: #f6c6a9; }
.wine-inner p:not(.eyebrow) { margin-bottom: .85rem; max-width: 33ch; }
.about { padding-block-start: clamp(2rem, 5vw, 4rem); }
.about-top {
  display: grid;
  grid-template: "heading portrait" auto "summary portrait" 1fr / minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.1rem clamp(1.75rem, 5vw, 5rem);
  align-items: start;
}
.about-heading { grid-area: heading; }
.about-heading h1 { margin-top: .55rem; font-size: clamp(3.2rem, 7vw, 6.8rem); line-height: .96; letter-spacing: -.06em; }
.about-top figure { grid-area: portrait; }
.about-top figure img { height: auto; }
.about-top .about-summary { grid-area: summary; margin-top: 0; }
.about-credentials { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem clamp(1.75rem, 5vw, 5rem); margin-top: 1.5rem; }
.about p:not(.eyebrow) { color: var(--muted); margin-top: .9rem; max-width: 55ch; }
.credentials { margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.credentials h3 { font-size: 1.35rem; }
.credentials ul { padding-left: 1.1rem; margin: .5rem 0 0; }
.contact { background: #ebe2d5; }
.contact-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.6rem, 5vw, 5rem); padding-block: clamp(3rem, 6vw, 5rem); }
.contact-intro h2 { font-size: clamp(2.6rem, 4vw, 4rem); text-wrap: balance; }
.contact-intro > p:last-child { margin-top: .75rem; color: var(--muted); max-width: 32ch; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.contact-full { grid-column: 1 / -1; }
.contact-form label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; font-weight: 600; }
.contact-form label b { color: var(--red); }
.contact-form :is(input:not([type="hidden"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .55rem .65rem;
  border: 1px solid #aa9687;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.35 var(--sans);
}
.contact-form textarea { resize: vertical; }
.contact-submit, .contact-actions, .contact-direct { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.contact .button { min-height: 44px; border: 1px solid var(--red); cursor: pointer; }
.contact-actions .button { background: transparent; color: var(--red); }
.contact-actions .button:hover { background: var(--red); color: white; }
.contact-privacy { font-size: .85rem; color: var(--muted); }
.contact-direct { justify-content: space-between; border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1rem; }
.contact-direct p { color: var(--muted); }
.contact-feedback { margin-bottom: 1rem; padding: .75rem 1rem; border-left: 3px solid var(--red); background: var(--paper); }
footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; font-size: .83rem; color: var(--muted); }
dialog { width: min(92vw,680px); max-height: 87vh; padding: 0; border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #201612b8; }
.dialog-inner { position: relative; padding: clamp(1.4rem,5vw,3.2rem); }
.dialog-inner h2 { margin: .5rem 1.35rem 1.2rem 0; font-size: clamp(2.35rem,6vw,4rem); }
.dialog-inner p + p { margin-top: .75rem; }
.close { position: absolute; top: .65rem; right: .65rem; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--red); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.close:hover { border-color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 3.5rem); }
  .portfolio-grid, .article-grid { gap: 1rem; }
  .hero-photo { min-height: 430px; }
  .article { padding: 1rem; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: .65rem; padding-block: .7rem; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; gap: 1.3rem; padding: .55rem 0 0; border-top: 1px solid var(--line); }
  .header-contact { grid-row: 1; grid-column: 2; }
  .hero { display: block; margin-top: .2rem; }
  .hero-copy { padding: 1.8rem 0 1.5rem; }
  .hero-copy h2 { font-size: clamp(4.1rem,16vw,6.6rem); }
  .hero-photo { min-height: 0; aspect-ratio: 1.1; margin-top: -1.75rem; }
  .hero-photo::after {
    background:
      linear-gradient(180deg, var(--paper), rgb(246 241 232 / 72%) 10%, transparent 29%),
      linear-gradient(0deg, var(--paper), transparent 14%),
      linear-gradient(90deg, var(--paper), transparent 8%, transparent 92%, var(--paper));
  }
  .topic-links { flex-wrap: wrap; justify-content: flex-start; gap: .6rem 1rem; }
  .topic-links a { flex: 0 0 auto; font-size: 1rem; }
  .topic-links a + a { padding-inline-start: .7rem; }
  .section-head, .wine-inner, .about-credentials { grid-template-columns: 1fr; gap: 1rem; }
  .about-top { grid-template: "heading" auto "portrait" auto "summary" auto / minmax(0, 1fr); }
  .about-credentials { margin-top: .25rem; }
  .portfolio-grid, .article-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .article { min-height: 180px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .contact-form { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
