:root {
  --ink: #11110f;
  --paper: #f5f2ec;
  --paper-bright: #fbfaf7;
  --muted: #67645d;
  --line: rgba(17, 17, 15, .18);
  --soft-line: rgba(17, 17, 15, .09);
  --accent: #b7482e;
  --header-height: 82px;
  --page-pad: clamp(20px, 4vw, 64px);
  --serif: Georgia, "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; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255,255,255,.92), transparent 36rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .15;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 236, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  width: min(1520px, 100%);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 12px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.logo { width: 48px; height: 48px; object-fit: contain; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: .03em;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.nav a {
  position: relative;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .follow { color: var(--ink); }
.nav .icon { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; }

.container {
  width: min(1240px, 100%);
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) var(--page-pad) clamp(72px, 10vw, 130px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.page-title {
  max-width: 980px;
  margin: 0 auto 24px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8.7vw, 8.7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .88;
  text-align: center;
  text-wrap: balance;
}
.page-title.small { font-size: clamp(2.8rem, 7vw, 6.4rem); }
.lead,
.shop-lead,
.home-intro,
.service-intro {
  max-width: 760px;
  margin: 0 auto 36px;
  color: #45423c;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.82;
  text-align: center;
  text-wrap: pretty;
}

.hero {
  position: relative;
  min-height: min(660px, 72vh);
  display: grid;
  place-items: center;
  margin: 0 0 clamp(58px, 8vw, 110px);
  padding: clamp(46px, 8vw, 110px) clamp(20px, 6vw, 80px);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper-bright);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.hero::before { width: min(54vw, 620px); aspect-ratio: 1; left: -17%; top: -46%; }
.hero::after { width: min(36vw, 430px); aspect-ratio: 1; right: -10%; bottom: -42%; }
.hero-mark {
  position: absolute;
  width: min(48vw, 440px);
  opacity: .055;
  filter: grayscale(1);
}
.hero-copy { position: relative; z-index: 1; max-width: 960px; text-align: center; }
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 11vw, 10.5rem);
  font-weight: 400;
  letter-spacing: -.068em;
  line-height: .78;
}
.hero-title span { display: block; margin-top: .14em; font-style: italic; }
.hero-subtitle {
  max-width: 630px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
}
.hero-actions,
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.seo-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}
.seo-card,
.service-card {
  min-height: 255px;
  padding: clamp(26px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper-bright);
}
.seo-card .number,
.service-card .number { color: var(--accent); font-size: .73rem; font-weight: 750; letter-spacing: .18em; }
.seo-card h2,
.service-card h2 { margin: 42px 0 12px; font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.35rem); font-weight: 400; line-height: 1.05; }
.seo-card p,
.service-card p { margin: 0; color: var(--muted); line-height: 1.72; }
.card-link { display: inline-block; margin-top: 22px; font-size: .76rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }

.portfolio-empty {
  max-width: 920px;
  margin: 46px auto 0;
  padding: clamp(42px, 7vw, 84px);
  border: 1px solid var(--line);
  background: var(--paper-bright);
  text-align: center;
}
.portfolio-empty .monogram {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 26px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.5rem;
}
.portfolio-empty h2 { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; }
.portfolio-empty p { max-width: 600px; margin: 0 auto; color: var(--muted); }

.portfolio-gallery {
  margin: clamp(46px, 7vw, 82px) 0 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: start;
  gap: clamp(14px, 2vw, 26px);
}
.gallery-card {
  position: relative;
  grid-column: span 4;
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  color: inherit;
  background: #e8e4dc;
  cursor: zoom-in;
}
.gallery-card.size-small { grid-column: span 3; }
.gallery-card.size-medium { grid-column: span 4; }
.gallery-card.size-large { grid-column: span 6; }
.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .3s ease;
}
.gallery-card:hover img { transform: scale(1.018); filter: contrast(1.02); }
.gallery-series-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
  background: rgba(18,17,15,.66);
  backdrop-filter: blur(8px);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gallery-modal .modal-panel { width: min(1120px, 100%); }
.gallery-modal .modal-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.gallery-modal .modal-visual img { height: min(78vh, 780px); object-fit: contain; }
.gallery-modal .modal-body { min-height: 440px; }
.gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  color: #fff;
  background: rgba(18,17,15,.56);
  backdrop-filter: blur(8px);
  font: 400 2rem/1 var(--serif);
  transform: translateY(-50%);
}
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(18,17,15,.62);
  font-size: .76rem;
  text-align: center;
  transform: translateX(-50%);
}
.gallery-series-note { margin: 5px 0 0; color: var(--accent) !important; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.shop-header-row { text-align: center; }
.shop-status-bar {
  max-width: 760px;
  margin: 34px auto 46px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.38);
  font-size: .9rem;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.shop-item { min-width: 0; }
.shop-card-open {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.shop-thumb-wrap { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--soft-line); background: #e8e4dc; }
.shop-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.shop-item:hover .shop-thumb { transform: scale(1.025); }
.shop-meta { padding: 18px 2px 0; }
.shop-status { color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.shop-name { margin: 7px 0 7px; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.1; }
.shop-desc { margin: 0; color: var(--muted); font-size: .94rem; }
.price { margin: 12px 0 0; font-weight: 750; }
.price .muted { color: var(--muted); font-weight: 400; }
.empty-shop { grid-column: 1 / -1; }
.payment-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 22px; color: var(--muted); font-size: .84rem; }
.payment-note svg { width: 18px; }

.button,
.shop-link,
.ghost-link,
.btn-send,
.btn-close,
.btn-copy {
  min-height: 48px;
  padding: 12px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--paper-bright);
  background: var(--ink);
  cursor: pointer;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover,
.shop-link:hover,
.btn-send:hover { color: #fff; background: var(--accent); transform: translateY(-2px); }
.button.secondary,
.ghost-link,
.btn-close,
.btn-copy { color: var(--ink); background: transparent; }
.button.secondary:hover,
.ghost-link:hover,
.btn-close:hover,
.btn-copy:hover { color: var(--paper-bright); background: var(--ink); }
.button.disabled { pointer-events: none; opacity: .36; }
.btn-send:disabled { cursor: not-allowed; opacity: .35; transform: none; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.5fr);
  gap: clamp(34px, 7vw, 90px);
  max-width: 1050px;
  margin: 54px auto 0;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.contact-details { color: var(--muted); }
.contact-details strong { display: block; margin: 0 0 12px; color: var(--ink); font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.contact-details p { margin: 0 0 24px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: block; margin: 0 0 7px; font-size: .73rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: 0; border-color: var(--ink); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field-hint,
.form-status { color: var(--muted); font-size: .86rem; }
.form-status { max-width: 760px; margin: 0 auto 25px; text-align: center; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

.legal-page { max-width: 820px; margin: 0 auto; }
.legal-block { margin: 0 0 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-block h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.legal-block p { margin: 0 0 12px; color: #4c4942; }
.legal-warning { margin: 0 0 44px; padding: 18px 20px; border-left: 3px solid var(--accent); background: rgba(183,72,46,.07); }
mark { padding: 1px 4px; color: inherit; background: rgba(255, 205, 86, .45); }
.small-note { color: var(--muted); font-size: .88rem; }

.overlay,
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  padding: 22px;
  display: grid;
  place-items: center;
  background: rgba(17,17,15,.72);
  backdrop-filter: blur(8px);
}
.overlay-card,
.modal-panel {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(28px, 5vw, 52px);
  color: var(--ink);
  background: var(--paper-bright);
}
.overlay-actions,
.modal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.copy-output { display: none; margin-top: 18px; padding: 14px; white-space: pre-wrap; background: var(--paper); font-size: .86rem; }
.copy-output.visible { display: block; }
.modal-panel { position: relative; width: min(980px, 100%); display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.modal-visual { min-height: 440px; background: #e8e4dc; }
.modal-visual img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: clamp(28px, 5vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.modal-label { color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.modal-body h2 { margin: 8px 0 16px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 400; line-height: 1; }
.modal-body p { color: var(--muted); }
.modal-close { position: fixed; right: 26px; top: 20px; width: 48px; padding: 0; border-color: rgba(255,255,255,.55); color: #fff; background: transparent; font-size: 1.5rem; }

.footer-about {
  border-top: 1px solid var(--line);
  padding: 34px var(--page-pad) 42px;
  text-align: center;
}
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--accent); }
.footer-credit { margin: 16px 0 0; color: #8b877e; font-size: .75rem; }

.fade-overlay { display: none; }

@media (max-width: 980px) {
  :root { --header-height: 122px; }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 9px; }
  .nav { width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; }
  .seo-grid, .service-grid, .shop-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .gallery-card.size-small,
  .gallery-card.size-medium { grid-column: span 6; }
  .gallery-card.size-large { grid-column: span 12; }
}

@media (max-width: 680px) {
  :root { --header-height: 116px; }
  .brand-name { font-size: .98rem; }
  .logo { width: 40px; height: 40px; }
  .nav { gap: 18px; }
  .nav a { font-size: .7rem; }
  .container { padding-top: 48px; }
  .hero { min-height: 520px; margin-inline: calc(var(--page-pad) * -.25); }
  .hero-title { font-size: clamp(3.7rem, 20vw, 6.6rem); }
  .seo-grid, .service-grid, .shop-grid { grid-template-columns: 1fr; }
  .seo-card, .service-card { min-height: 220px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 18px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-visual { min-height: 260px; }
  .modal-close { right: 14px; top: 12px; }
  .portfolio-gallery { gap: 12px; }
  .gallery-modal .modal-body { min-height: auto; }
  .gallery-modal .modal-visual { min-height: 300px; }
  .gallery-modal .modal-visual img { height: min(58vh, 520px); }
  .gallery-arrow { width: 42px; height: 42px; }
}

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