@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-display: swap; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 400; font-display: swap; src: url(/fonts/jost-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-display: swap; src: url(/fonts/jost-latin-500-normal.woff2) format('woff2'); }

:root {
  --paper: #f4f1ea; --ink: #262626; --grey: #6d6d6d; --line: #d9d4c8; --card: #fbf9f4;
  --accent: #c4672a; --accent-dark: #a85420;
  --grad: linear-gradient(90deg, #6aa84f, #3d85c6, #8e5bb8);
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Jost', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 1.6em 0 .5em; }
h1 { font-size: 2.4rem; margin-top: .6em; } h2 { font-size: 1.7rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }
.container { width: min(1100px, 100% - 32px); margin-inline: auto; padding-bottom: 3rem; }
.narrow { width: min(760px, 100% - 32px); }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 14px 16px; max-width: 1200px; margin: 0 auto; position: relative; }
.brand { text-decoration: none; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-main { font: 600 1.9rem/1 var(--serif); letter-spacing: .01em; }
.logo-sub { font: 500 .6rem/1 var(--sans); letter-spacing: .28em; margin-top: 5px; color: var(--grey); font-variant: small-caps; }
.menu-btn { font: 500 .95rem var(--sans); background: none; border: 1px solid var(--ink); padding: 8px 16px; border-radius: 2px; cursor: pointer; color: var(--ink); }
#nav { display: none; flex-basis: 100%; flex-direction: column; border-top: 1px solid var(--line); margin-top: 6px; }
#nav.open { display: flex; }
#nav a { padding: 12px 4px; text-decoration: none; border-bottom: 1px solid var(--line); }
#nav a[aria-current] { color: var(--accent-dark); font-weight: 500; }
@media (min-width: 800px) {
  .menu-btn { display: none; }
  #nav, #nav.open { display: flex; flex-direction: row; flex-basis: auto; gap: 22px; border: 0; margin: 0; }
  #nav a { border: 0; padding: 6px 0; border-bottom: 2px solid transparent; }
  #nav a[aria-current], #nav a:hover { border-bottom-color: var(--accent); }
}
.site-footer { border-top: 1px solid var(--line); padding: 28px 16px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; max-width: 1200px; margin: 2rem auto 0; color: var(--grey); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--grey); }

/* buttons, forms */
.btn { display: inline-block; background: var(--accent-dark); color: #fff; padding: 11px 24px; border: 0; border-radius: 2px; font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; letter-spacing: .03em; }
.btn:hover { background: #8d441a; color: #fff; }
.btn-alt { background: transparent; color: var(--ink); border: 1px solid var(--ink); } .btn-alt:hover { background: var(--ink); }
.btn-sm { padding: 6px 14px; font-size: .9rem; }
.btn-danger { background: #9b2c2c; } .btn-danger:hover { background: #7a2020; }
.card { background: var(--card); border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; }
label { display: grid; gap: 4px; font-weight: 500; font-size: .95rem; }
label.check { display: flex; gap: 8px; align-items: center; font-weight: 400; }
input, select, textarea { font: 400 1rem var(--sans); padding: 10px; border: 1px solid #a9a597; background: #fff; color: var(--ink); border-radius: 2px; width: 100%; }
input[type=checkbox], input[type=radio] { width: auto; }
fieldset { border: 1px solid var(--line); padding: 10px 14px; display: grid; gap: 6px; } legend { font-weight: 500; padding: 0 6px; }
.hp { position: absolute; left: -9999px; height: 0; opacity: 0; }
.privacy { font-size: .85rem; color: var(--grey); margin: 0; }
.error { background: #fbeaea; border: 1px solid #c77; padding: 8px 14px; } .error p { margin: 4px 0; }
.ok { background: #eaf4ea; border: 1px solid #7a7; padding: 8px 14px; }
.live-price, .result { font-family: var(--serif); font-size: 1.4rem; margin: 0; }
.result small { display: block; font: 400 .9rem var(--sans); color: var(--grey); }

/* home */
.carousel { position: relative; max-width: 560px; margin: 8px auto 0; padding: 0 16px; }
.slides { position: relative; aspect-ratio: 4/5; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide a { display: block; max-height: 100%; }
.slide figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.car-btn { position: absolute; top: 45%; background: rgba(244,241,234,.85); border: 1px solid var(--line); width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); border-radius: 50%; }
.car-btn.prev { left: 0; } .car-btn.next { right: 0; }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.dots button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; position: relative; }
.dots button::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: #b9b5a8; }
.dots button[aria-current]::after { background: var(--accent); }
.intro { text-align: center; padding-top: 1rem; }
.lead { font: 400 1.5rem/1.4 var(--serif); max-width: 640px; margin: .5rem auto; }
.from { color: var(--grey); letter-spacing: .06em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.narrow .cta { justify-content: flex-start; }

/* frames: drawn in CSS, never baked into the image. --b = total frame thickness, used to size images in their cell */
.frame { --b: 0px; display: inline-block; max-width: 100%; line-height: 0; }
.frame img { display: block; max-width: calc(100cqw - 2 * var(--b)); max-height: calc(100cqh - 2 * var(--b)); width: auto; height: auto; }
.frame-black { --b: 9px; border: 9px solid #1c1c1c; box-shadow: 0 2px 8px rgba(0,0,0,.25), inset 0 0 0 1px #444; }
.frame-oak { --b: 11px; border: 11px solid #b88a58; border-image: linear-gradient(135deg, #cfa673, #a8763f 50%, #c99c68) 1; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.frame-cream { --b: 21px; border: 7px solid #fff; padding: 14px; background: #efe7d2; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.frame-cream img { box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.slide, .tile, .viewer-img { container-type: size; }
.noimg { background: var(--line); padding: 3rem; color: var(--grey); }

/* gallery */
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.filter-label { font-weight: 500; min-width: 64px; color: var(--grey); }
.chip { padding: 5px 14px; border: 1px solid #a9a597; border-radius: 99px; text-decoration: none; font-size: .92rem; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.tile { display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: zoom-in; width: 100%; aspect-ratio: 4/5; }
.tile .frame-black { --b: 5px; border-width: 5px; } .tile .frame-oak { --b: 6px; border-width: 6px; } .tile .frame-cream { --b: 12px; border-width: 4px; padding: 8px; }
dialog#viewer { border: 0; padding: 0; background: var(--paper); width: min(960px, 96vw); max-height: 94vh; overflow: auto; }
dialog#viewer::backdrop { background: rgba(20,20,20,.75); }
dialog#viewer[open] { display: grid; gap: 16px; padding: 20px; }
@media (min-width: 760px) { dialog#viewer[open] { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.viewer-img { display: flex; justify-content: center; align-items: center; width: 100%; height: 70vh; }
.close { position: absolute; right: 8px; top: 4px; font-size: 2rem; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; z-index: 2; }
.viewer-info h2 { margin-top: 0; } .meta { color: var(--grey); }
.empty { color: var(--grey); padding: 2rem 0; }

/* commissions etc. */
.steps { padding-left: 1.3rem; } .steps li { margin: .5rem 0; padding-left: .3rem; }
.notes { padding-left: 1.2rem; } .notes li { margin: .35rem 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; background: var(--card); }
th, td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
thead th { background: #ece7da; font-weight: 500; }
.voucher-pair { display: grid; gap: 14px; grid-template-columns: 1fr; } @media (min-width: 600px) { .voucher-pair { grid-template-columns: 1fr 1fr; } }
.voucher-card { aspect-ratio: 1.6; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.voucher-card::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 18px; height: 3px; background: var(--grad); }
.voucher-card.charcoal::after { background: #262626; }
.v-logo { font: 600 1.7rem var(--serif); } .v-sub { font: 500 .55rem var(--sans); letter-spacing: .28em; color: var(--grey); }
.v-title { font: 400 1.2rem var(--serif); margin-top: 12px; text-transform: uppercase; letter-spacing: .2em; }
.v-med { color: var(--accent-dark); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; margin-top: 4px; }
.contact-list { list-style: none; padding: 0; } .contact-list li { margin: 6px 0; } .contact-list strong { display: inline-block; min-width: 90px; }
.about-photo { max-width: 360px; margin: 0 auto 1rem; }

@media (prefers-reduced-motion: reduce) { .slide { transition: none; } * { scroll-behavior: auto !important; } }
