/* The Scalloped Hem — lily toile, Nantucket photo, script name */
:root {
  --paper: #f7f4ee;
  --paper-deep: #efeae1;
  --linen: #f3eee4;
  --ink: #1a3050;
  --mute: #5a6b78;
  --delft: #3d6d99;
  --hydro: #7ba3c9;
  --hydro-deep: #4d73a0;
  --navy: #1a3050;
  --lilac: #9aa3c7;
  --lilac-soft: #c5c0d8;
  --sea: #8aa8a3;
  --line: #d8d3c8;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(247, 244, 238, 0.89), rgba(247, 244, 238, 0.89)),
    url("img/lily-toile.png");
  background-size: auto, 620px auto;
  background-repeat: repeat;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--hydro-deep); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 8px; background: #fff; padding: 8px; z-index: 40; }

.ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 7px 32px;
  background: var(--navy);
  color: #e4ebf2;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ribbon p { margin: 0; }
.ribbon-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ribbon a { color: #fff; text-decoration: none; letter-spacing: 0.12em; }
.ribbon a:hover { color: #cfe0ef; }
.ribbon-login { font-weight: 500; }

/* Photographic mast — Isaac lock. Works with .hero or .photo-mast markup. */
.photo-mast {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.photo-mast-short { min-height: 36vh; }
.photo-mast picture,
.photo-mast-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.photo-mast-img {
  object-fit: cover;
  object-position: center 42%;
}
.photo-mast-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 24, 40, 0.46) 0%, rgba(12, 24, 40, 0.28) 42%, rgba(12, 24, 40, 0.52) 100%);
  pointer-events: none;
}
.photo-mast-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 40px));
  padding: 72px 12px 68px;
}
.photo-mast-short .photo-mast-inner { padding: 36px 12px 32px; }
.photo-mast .word-script {
  display: block;
  margin: 0;
  font-family: Italianno, "Great Vibes", Allura, "Segoe Script", cursive;
  font-weight: 400;
  font-size: clamp(4.6rem, 13vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(8, 18, 32, 0.35);
}
.photo-mast-short .word-script { font-size: clamp(3.2rem, 8vw, 5.4rem); }
.photo-mast .word-line {
  display: block;
  margin-top: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}
.photo-mast nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.photo-mast nav a,
.photo-mast nav .nav-signed {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.photo-mast nav a:hover { border-bottom-color: rgba(255, 255, 255, 0.7); color: #fff; }
.photo-mast nav .nav-signed { border-bottom-color: rgba(255, 255, 255, 0.45); }
.eyebrow.light { color: rgba(255, 255, 255, 0.82); }
.photo-phone { margin: 22px 0 0; }
.photo-phone a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
}

/* Quiet lede under the photo — not a second 70vh hero */
.hero.hero-quiet {
  min-height: 0;
  display: block;
  color: var(--ink);
  background: transparent;
  overflow: visible;
  padding: 72px 24px 8px;
  text-align: center;
}
.hero-quiet .hero-copy { width: min(720px, 100%); margin: 0 auto; }
.hero-quiet h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.hero-quiet .lede {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.28rem;
  color: var(--mute);
  max-width: 46ch;
  margin: 0 auto 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }


.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-slim { min-height: 36vh; }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 24, 40, 0.46) 0%, rgba(12, 24, 40, 0.28) 42%, rgba(12, 24, 40, 0.52) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 40px));
  padding: 72px 12px 68px;
}
.hero-slim .hero-inner { padding: 36px 12px 32px; }

.word { text-decoration: none; color: inherit; display: inline-block; }
.word-script {
  display: block;
  margin: 0;
  font-family: Italianno, "Great Vibes", "Segoe Script", cursive;
  font-weight: 400;
  font-size: clamp(4.6rem, 13vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 28px rgba(8, 18, 32, 0.35);
}
.hero-slim .word-script {
  font-size: clamp(3.2rem, 8vw, 5.4rem);
}
.word-line {
  display: block;
  margin-top: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero nav a,
.hero nav .nav-signed {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.hero nav a:hover { border-bottom-color: rgba(255, 255, 255, 0.7); color: #fff; }
.hero nav .nav-signed { border-bottom-color: rgba(255, 255, 255, 0.45); }

.paper {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(247, 244, 238, 0.89), rgba(247, 244, 238, 0.89)),
    url("img/lily-toile.png");
  background-size: auto, 620px auto;
  background-repeat: repeat;
}

.intro {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0 12px;
  text-align: center;
}
.intro-lede {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--mute);
  margin: 0;
}

.eyebrow, .kicker {
  margin: 0 0 10px;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--delft);
}
.btn, .btn-fill {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 20px;
  border: 0;
  border-radius: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover, .btn-fill:hover { background: #12243c; color: #fff; }
.btn-ghost {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--delft); color: var(--delft); }
.btn-sm { padding: 8px 12px; font-size: 0.7rem; }

.catalog {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 56px 0 28px;
}
.sec-head { max-width: 40rem; margin: 0 auto 40px; text-align: center; }
.sec-head h2, .atelier h2, .consult h2, .visit h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 12px;
}
.sec-lead { margin: 0 auto; color: var(--mute); max-width: 48ch; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card {
  background: #fff;
  border: 1px solid rgba(26, 48, 80, 0.1);
  box-shadow: 0 18px 40px rgba(26, 48, 80, 0.05);
}
.card-wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.plate-frame {
  margin: 0;
  background: var(--linen);
  position: relative;
  overflow: hidden;
}
.card-body { padding: 22px 24px 26px; }
.card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 6px;
}
.card-body p { margin: 0 0 10px; color: var(--mute); font-size: 0.94rem; }
.price {
  font-weight: 500;
  color: var(--ink) !important;
  font-size: 1rem !important;
}
.price span { font-weight: 400; color: var(--delft); font-size: 0.82rem; }

/* CSS product plates — catalog goods, not a shop logo */
.goods {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(238, 244, 248, .4), transparent 40%),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(30, 58, 95, .03) 11px 12px),
    #efe8da;
}
.card-wide .goods { aspect-ratio: 5 / 3; height: 100%; }
.goods-bar { position: absolute; left: 0; right: 0; height: 10px; }
.goods-bar.top { top: 0; background: var(--hydro); }

.sheet {
  position: absolute;
  background: #fbf8f2;
  box-shadow: 0 10px 20px rgba(30, 58, 95, 0.08);
}
.sheet::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 18px;
  background:
    radial-gradient(circle at 50% 0, #fbf8f2 70%, transparent 71%) 0 0 / 18px 18px repeat-x;
}
.mono {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--hydro-deep);
}

.goods-napkins .sheet {
  left: 18%; right: 18%; top: 18%; height: 62%;
  border: 1px solid #e3ebf1;
}
.goods-napkins .sheet.back { top: 12%; transform: rotate(-4deg); opacity: .85; }
.goods-napkins .sheet.mid { top: 16%; transform: rotate(3deg); opacity: .92; }
.goods-napkins .mono { font-size: 3.4rem; }

.goods-burp .cloth {
  position: absolute;
  width: 38%; height: 64%;
  top: 18%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(30, 58, 95, 0.1);
  background-size: 10px 10px;
}
.goods-burp .c1 {
  left: 10%;
  background-color: #dce8f2;
  background-image:
    linear-gradient(90deg, rgba(123,163,201,.55) 50%, transparent 50%),
    linear-gradient(rgba(123,163,201,.4) 50%, transparent 50%);
}
.goods-burp .c2 {
  left: 31%; top: 20%;
  background-color: #e8e6f0;
  background-image:
    linear-gradient(90deg, rgba(154,163,199,.5) 50%, transparent 50%),
    linear-gradient(rgba(197,192,216,.45) 50%, transparent 50%);
}
.goods-burp .c3 {
  left: 52%; top: 16%;
  background-color: #e8f1f0;
  background-image:
    linear-gradient(90deg, rgba(138,168,163,.35) 50%, transparent 50%),
    linear-gradient(rgba(91,135,176,.28) 50%, transparent 50%);
}
.goods-burp .mono { left: 71%; top: 48%; font-size: 2.8rem; color: var(--navy); }

.goods-towels .sheet { left: 16%; right: 16%; height: 28%; }
.goods-towels .s1 { top: 14%; }
.goods-towels .s1::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: var(--hydro);
}
.goods-towels .s2 { top: 32%; }
.goods-towels .s2::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: var(--sea);
}
.goods-towels .s3 { top: 50%; height: 34%; }
.goods-towels .s3::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: var(--navy);
}
.goods-towels .mono { top: 64%; font-size: 3rem; color: var(--navy); }

.goods-tea .jar {
  position: absolute;
  left: 50%; bottom: 14%;
  width: 28%; height: 42%;
  transform: translateX(-50%);
  background: #fbf8f2;
  border-radius: 8px 8px 16px 16px;
  box-shadow: 0 8px 16px rgba(30, 58, 95, 0.1);
}
.goods-tea .jar::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; top: -8px; height: 14px;
  background: var(--navy);
  border-radius: 8px;
}
.goods-tea .jar::after {
  content: "";
  position: absolute;
  left: 50%; top: 28%;
  width: 10px; height: 22px;
  transform: translateX(-50%);
  background: var(--hydro-deep);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.goods-pillow .pad {
  position: absolute;
  left: 16%; right: 16%; top: 14%; bottom: 14%;
  background: #fbf8f2;
  border: 10px solid var(--navy);
  box-shadow: inset 0 0 0 3px #fff, 0 10px 20px rgba(30, 58, 95, 0.12);
}
.goods-pillow .pad::after {
  content: "";
  position: absolute;
  inset: 10%;
  background:
    radial-gradient(circle at 32% 38%, var(--hydro) 0 16px, transparent 17px),
    radial-gradient(circle at 46% 32%, var(--lilac) 0 18px, transparent 19px),
    radial-gradient(circle at 58% 44%, var(--lilac-soft) 0 15px, transparent 16px),
    radial-gradient(circle at 44% 52%, var(--hydro-deep) 0 14px, transparent 15px),
    radial-gradient(circle at 68% 36%, var(--hydro) 0 12px, transparent 13px),
    radial-gradient(circle at 36% 60%, var(--sea) 0 8px, transparent 9px);
}

.goods-stocking .rail {
  position: absolute; left: 10%; right: 10%; top: 16%;
  height: 8px; background: var(--navy); border-radius: 4px;
}
.goods-stocking .sock {
  position: absolute;
  top: 16%;
  width: 28%;
  height: 64%;
  background:
    linear-gradient(180deg, var(--navy) 0 18%, transparent 18%),
    repeating-linear-gradient(180deg, transparent 0 10px, rgba(30,58,95,.08) 10px 11px),
    var(--hydro);
  clip-path: polygon(12% 0, 88% 0, 88% 62%, 100% 86%, 70% 100%, 12% 78%);
}
.goods-stocking .sock.b {
  background:
    linear-gradient(180deg, var(--navy) 0 18%, transparent 18%),
    repeating-linear-gradient(180deg, transparent 0 10px, rgba(30,58,95,.08) 10px 11px),
    var(--lilac);
}
.goods-stocking .sa { left: 18%; }
.goods-stocking .sb { left: 52%; }
.goods-stocking .mono { font-size: 2rem; color: #fff; }
.goods-stocking .m-a { left: 32%; top: 46%; }
.goods-stocking .m-b { left: 66%; top: 46%; }

.goods-beach .tow {
  position: absolute;
  left: 10%; right: 10%; top: 12%; bottom: 12%;
  background:
    repeating-linear-gradient(90deg,
      #fbf8f2 0 8.3%,
      var(--hydro) 8.3% 16.6%,
      #fbf8f2 16.6% 24.9%,
      var(--navy) 24.9% 33.2%,
      #fbf8f2 33.2% 41.5%,
      var(--lilac) 41.5% 49.8%,
      #fbf8f2 49.8% 58.1%,
      var(--hydro) 58.1% 66.4%,
      #fbf8f2 66.4% 74.7%,
      var(--navy) 74.7% 83%,
      #fbf8f2 83% 91.3%,
      var(--lilac-soft) 91.3% 100%);
  clip-path: polygon(
    0 8%, 5% 0, 10% 8%, 15% 0, 20% 8%, 25% 0, 30% 8%, 35% 0, 40% 8%, 45% 0, 50% 8%, 55% 0, 60% 8%, 65% 0, 70% 8%, 75% 0, 80% 8%, 85% 0, 90% 8%, 95% 0, 100% 8%,
    100% 92%, 95% 100%, 90% 92%, 85% 100%, 80% 92%, 75% 100%, 70% 92%, 65% 100%, 60% 92%, 55% 100%, 50% 92%, 45% 100%, 40% 92%, 35% 100%, 30% 92%, 25% 100%, 20% 92%, 15% 100%, 10% 92%, 5% 100%, 0 92%
  );
  box-shadow: 0 10px 20px rgba(30, 58, 95, 0.12);
}
.goods-beach .mono {
  font-size: 3.4rem;
  color: var(--navy);
}

.bloom {
  position: absolute;
  width: 84px; height: 64px;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 42%, var(--hydro) 0 11px, transparent 12px),
    radial-gradient(circle at 50% 30%, var(--lilac) 0 13px, transparent 14px),
    radial-gradient(circle at 68% 48%, var(--lilac-soft) 0 12px, transparent 13px),
    radial-gradient(circle at 46% 58%, var(--hydro-deep) 0 10px, transparent 11px),
    radial-gradient(circle at 34% 64%, var(--sea) 0 6px, transparent 7px);
}
.bloom.tl { top: 6%; left: 4%; }
.bloom.tr { top: 8%; right: 4%; }
.bloom.bl { bottom: 6%; left: 6%; }
.bloom.br { bottom: 8%; right: 6%; }
.bloom.lg {
  width: 160px; height: 110px;
  left: 50%; top: 10%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 22% 48%, var(--hydro) 0 18px, transparent 19px),
    radial-gradient(circle at 40% 32%, var(--lilac) 0 22px, transparent 23px),
    radial-gradient(circle at 58% 28%, var(--hydro-deep) 0 18px, transparent 19px),
    radial-gradient(circle at 74% 44%, var(--lilac-soft) 0 20px, transparent 21px),
    radial-gradient(circle at 50% 52%, var(--hydro) 0 20px, transparent 21px),
    radial-gradient(circle at 34% 64%, var(--lilac) 0 14px, transparent 15px),
    radial-gradient(circle at 64% 66%, var(--sea) 0 9px, transparent 10px);
}

.atelier {
  width: min(1040px, calc(100% - 56px));
  margin: 0 auto;
  padding: 88px 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.atelier-copy p { color: var(--mute); max-width: 42ch; }
.mono-controls { margin-top: 26px; }
.mono-controls label, .swatch-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
#letters {
  width: 8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.swatches { display: flex; gap: 10px; margin-top: 4px; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--chip);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
}
.swatch.is-on { box-shadow: 0 0 0 2px var(--ink); }

.crest-wrap { text-align: center; }
.crest {
  --thread: #5b87b0;
  --ground: #fbf8f2;
  width: min(340px, 100%);
  aspect-ratio: 5 / 4;
  margin: 0 auto;
  background: var(--ground);
  color: var(--thread);
  border: 1px solid rgba(26, 48, 80, 0.12);
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  justify-items: center;
  box-shadow: 0 18px 40px rgba(26, 48, 80, 0.06);
}
.crest-left, .crest-right {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
}
.crest-script {
  font-family: Italianno, "Great Vibes", "Segoe Script", cursive;
  font-size: 6.4rem;
  line-height: 0.8;
  padding-bottom: 8px;
}
.crest-caption {
  margin: 16px 0 0;
  font-size: 0.86rem;
  color: var(--mute);
}

.consult { padding: 36px 0 28px; }
.consult-card {
  width: min(980px, calc(100% - 56px));
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(26, 48, 80, 0.1);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: 0 22px 50px rgba(26, 48, 80, 0.06);
}
.consult-copy { padding: 48px 40px 40px; }
.consult-copy p { color: var(--mute); }
.phone-lg { margin-top: 20px; }
.phone-lg a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  text-decoration: none;
  color: var(--navy);
}
.phone-lg a:hover { color: var(--delft); }
.consult form { padding: 48px 40px 40px; display: grid; gap: 6px; }
.consult label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 8px;
}
.consult input, .consult select, .consult textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px 12px;
  width: 100%;
}
.consult button {
  margin-top: 16px;
  appearance: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  font: 500 0.74rem Outfit, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 16px;
  cursor: pointer;
}
.consult button:hover { background: #12243c; }
.form-done, .form-success {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--delft);
}

.visit {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.visit p { margin: 0 0 12px; color: var(--mute); }
.visit ul { list-style: none; margin: 0; padding: 0; }
.visit li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.foot {
  margin: 0;
  padding: 48px 24px 40px;
  background: var(--navy);
  color: #d7e0e8;
  text-align: center;
}
.foot-script {
  font-family: Italianno, "Great Vibes", "Segoe Script", cursive;
  font-size: 2.4rem;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1;
}
.foot p:last-child {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b7c4ce;
}

.plate-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.card-wide .plate-frame img {
  aspect-ratio: 5 / 3;
  height: 100%;
}

body.is-editor { padding-bottom: 4.6rem; }
:focus-visible { outline: 2px solid var(--delft); outline-offset: 3px; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.stack { display: grid; gap: 6px; }
.opt { font-weight: 400; color: var(--mute); }
.fine { font-size: 0.92rem; color: var(--mute); margin: 0 0 12px; }
.login-err {
  margin: 0 0 8px;
  color: #7a3a3a;
  font-size: 0.95rem;
}

.login-page .paper { padding-bottom: 28px; }
.login-page .consult { padding-top: 48px; padding-bottom: 56px; }
.login-page .consult-card { grid-template-columns: 1.05fr 0.95fr; }
.login-page .consult form { gap: 8px; }
.login-page .consult form label { display: grid; gap: 4px; }
.login-page h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 10px;
}

.editor-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: var(--navy);
  color: #e8eef3;
  border-top: 1px solid #4d73a0;
}
.editor-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.editor-bar-note { margin: 0; font-size: 0.9rem; color: #c5d4e4; flex: 1; }
.editor-out { color: #fff; font-size: 0.92rem; text-decoration: none; }
.editor-out:hover { color: var(--lilac-soft); }
.editor-bar .btn-fill,
.editor-bar .btn {
  background: #fff;
  color: var(--navy);
}
.editor-bar .btn-fill:hover,
.editor-bar .btn:hover { background: var(--paper); color: var(--navy); }

.suggest-panel {
  position: fixed;
  right: 20px;
  bottom: 72px;
  z-index: 41;
  width: min(26rem, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(26, 48, 80, 0.1);
  padding: 22px 22px 24px;
}
.suggest-panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.suggest-panel label {
  display: grid;
  gap: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
}
.suggest-panel textarea,
.suggest-panel input[type="text"] {
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 12px;
  width: 100%;
}
.suggest-panel textarea { min-height: 6.5rem; resize: vertical; }

@media (max-width: 900px) {
  .atelier, .consult-card, .visit, .grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .ribbon { padding: 8px 16px; }
  .catalog, .atelier, .visit { width: min(1120px, calc(100% - 32px)); }
  .consult-card { width: min(1000px, calc(100% - 32px)); }
  .intro { width: min(720px, calc(100% - 32px)); padding-top: 64px; }
  .crest-script { font-size: 5rem; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .login-page .consult-card { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 8px 48px; }
}
