@font-face { font-family: "EB Garamond"; src: url(fonts/ebgaramond.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(fonts/ebgaramond-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #fcfbf7;
  --paper-2: #f3efe4;
  --ink: #1f1c18;
  --muted: #6d665b;
  --line: #d8d1c2;
  --on-photo: #fffdf8;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --narrow: 34rem;
  --wide: 70rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 19px/1.55 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 18px var(--gutter); color: var(--ink); transition: background .3s, color .3s, box-shadow .3s; }
.site-head.on-photo { color: var(--on-photo); }
.site-head.solid { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { display: block; color: inherit; text-decoration: none; font: italic 400 30px/1 var(--serif); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.6rem; font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.langs { display: flex; gap: .7rem; opacity: .8; }
.langs a[aria-current="true"] { border-bottom-color: currentColor; }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: 400 12px/1 var(--sans); letter-spacing: .14em;
  text-transform: uppercase; padding: 10px 0; cursor: pointer; }

@media (max-width: 760px) {
  .logo { font-size: 26px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 2rem; font-size: 14px;
    background: var(--paper); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-head { color: var(--ink); }
}

/* ---------- shared blocks ---------- */
.label { font: 400 13px/1.4 var(--serif); letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.sub { font-style: italic; text-align: center; color: var(--muted); margin-top: .5rem; }
.band { padding: 88px var(--gutter); }
.band.tint { background: var(--paper-2); }
.narrow { max-width: var(--narrow); margin: 0 auto; }
.wide { max-width: var(--wide); margin: 0 auto; }
.center { text-align: center; }
.prose p + p { margin-top: 1.1em; }
.lead { font-size: 21px; line-height: 1.5; text-align: center; }
.mark { display: block; width: 46px; margin: 2.2rem auto 0; color: var(--ink); }
.squiggle { display: block; width: 52px; margin: 56px auto 0; color: var(--muted); }

.btn { display: inline-block; font: 400 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 15px 26px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.light:hover { background: var(--on-photo); color: var(--ink); border-color: var(--on-photo); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; color: var(--on-photo); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%); }
.hero-line { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 44px; text-align: center;
  font-style: italic; font-size: clamp(22px, 3.2vw, 34px); line-height: 1.25; }
.page-hero { height: 78svh; }
.page-hero .hero-line { font-size: clamp(30px, 5vw, 56px); bottom: 50%; transform: translateY(50%); }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; max-width: 60rem; margin: 0 auto; }
.intro figure { margin: 0; }
.intro h1 { font: italic 400 clamp(30px, 4vw, 40px)/1.15 var(--serif); text-align: center; margin-bottom: 1.4rem; }
.intro .prose { text-align: center; }
.intro .tag { font-style: italic; text-align: center; margin-top: 1.4rem; }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; gap: 40px; } .intro figure { max-width: 300px; margin: 0 auto; } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.card { text-decoration: none; display: block; }
.card .ph { aspect-ratio: 3 / 4; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.03); }
.card .cap { font-style: italic; text-align: center; margin-top: .8rem; font-size: 18px; }
.card .cap small { display: block; font: 400 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-top: .25rem; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; gap: 36px; } .card .ph { aspect-ratio: 4 / 5; } }

/* ---------- wide photo ---------- */
.wide-photo { max-width: var(--wide); margin: 48px auto 0; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.full-photo img { width: 100%; height: min(80svh, 56vw); min-height: 300px; object-fit: cover; }

/* ---------- services ---------- */
.services { list-style: none; padding: 0; margin: 40px auto 0; max-width: 40rem; }
.services li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; padding: 18px 0; border-top: 1px solid var(--line); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services b { font-weight: 500; }
.services span { grid-column: 1; color: var(--muted); font-size: 17px; }
.services em { grid-row: 1; grid-column: 2; font-size: 16px; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .services li { grid-template-columns: 1fr; } .services em { grid-row: auto; grid-column: 1; } }
.fine { font-size: 15px; color: var(--muted); text-align: center; margin-top: 1.2rem; font-style: italic; }

/* ---------- gallery ---------- */
.gallery { columns: 3 260px; column-gap: 14px; max-width: var(--wide); margin: 44px auto 0; }
.gallery figure { margin: 0 0 14px; break-inside: avoid; }
.gallery img { width: 100%; }

/* ---------- invite banner ---------- */
.invite { position: relative; color: var(--on-photo); text-align: center; }
.invite img { width: 100%; height: min(78svh, 60vw); min-height: 360px; object-fit: cover; object-position: center 72%; }
.invite::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.invite div { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; padding: var(--gutter); }
.invite p { font-style: italic; font-size: clamp(30px, 5vw, 54px); line-height: 1.1; }

/* ---------- work list ---------- */
.work-list { display: grid; gap: 80px; max-width: 60rem; margin: 0 auto; }
.work-item { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: center; text-decoration: none; }
.work-item:nth-child(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.work-item:nth-child(even) .ph { order: 2; }
.work-item .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-item:hover img { transform: scale(1.03); }
.work-item h2 { font: italic 400 30px/1.2 var(--serif); margin-bottom: .6rem; }
.work-item p { color: var(--muted); }
.work-item .more { display: inline-block; margin-top: 1rem; font: 400 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
@media (max-width: 760px) { .work-item, .work-item:nth-child(even) { grid-template-columns: 1fr; gap: 20px; } .work-item:nth-child(even) .ph { order: 0; } }
.next-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 64px; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 60rem; margin: 0 auto; }
.split + .split { margin-top: 88px; }
.split.flip figure { order: 2; }
.split figure { margin: 0; }
.split figcaption { font-style: italic; font-size: 15px; color: var(--muted); margin-top: .6rem; text-align: center; }
.split h2 { font: italic 400 30px/1.2 var(--serif); margin-bottom: 1rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip figure { order: 0; } }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 52rem; margin: 40px auto 0; text-align: center; }
.facts b { display: block; font: italic 400 38px/1.1 var(--serif); }
.facts span { display: block; margin-top: .4rem; font: 400 11px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- form ---------- */
.form-page { padding-top: 140px; }
.form-title { font: italic 400 clamp(30px, 4.4vw, 44px)/1.15 var(--serif); text-align: center; }
form.inquire { max-width: 40rem; margin: 48px auto 0; }
fieldset { border: 0; padding: 0; margin: 0 0 48px; }
legend { font: 400 13px/1.4 var(--serif); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field > label, .field > .q { display: block; font-size: 17px; margin-bottom: 6px; }
.field small { color: var(--muted); font-style: italic; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea {
  width: 100%; font: 400 17px/1.4 var(--serif); color: var(--ink); background: transparent; border: 1px solid var(--line);
  border-radius: 0; padding: 11px 12px; -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; }
.choices span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); font-size: 16px; cursor: pointer; transition: background .15s, border-color .15s; }
.choices input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-end { text-align: center; }
.form-msg { margin-top: 1.2rem; font-style: italic; min-height: 1.5em; }
.form-msg.err { color: #8a2a1a; }
.thanks { display: none; text-align: center; max-width: var(--narrow); margin: 48px auto 0; }
.sent form.inquire { display: none; }
.sent .thanks { display: block; }
.thanks p { font: italic 400 26px/1.35 var(--serif); }

/* ---------- legal ---------- */
.legal { padding-top: 140px; }
.legal h1 { font: italic 400 40px/1.15 var(--serif); text-align: center; margin-bottom: 40px; }
.legal h2 { font: 400 13px/1.4 var(--serif); letter-spacing: .16em; text-transform: uppercase; margin: 40px 0 12px; }

/* ---------- footer ---------- */
.site-foot { background: var(--paper-2); padding: 64px var(--gutter) 40px; text-align: center; }
.site-foot .logo { display: inline-block; font-size: 40px; color: var(--ink); }
.site-foot p { font-style: italic; color: var(--muted); margin-top: 1rem; }
.foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem 1.8rem; margin-top: 2rem; font: 400 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.foot-nav a { text-decoration: none; padding: 6px 0; }
.foot-nav a:hover { text-decoration: underline; }
.copy { margin-top: 2rem; font: 400 11px/1.5 var(--sans); letter-spacing: .1em; color: var(--muted); }

.fade { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
