/* The Scalloped Hem — linen boutique catalog, Nantucket */
:root {
  --paper: #f7fafc;
  --paper-deep: #eef4f8;
  --linen: #f1ece2;
  --ink: #1e3a5f;
  --mute: #5c6d7a;
  --hydro: #7ba3c9;
  --hydro-deep: #5b87b0;
  --navy: #1e3a5f;
  --lilac: #9aa3c7;
  --lilac-soft: #c5c0d8;
  --sea: #8aa8a3;
  --line: #d5dee6;
}
*, *::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: var(--paper);
  line-height: 1.55;
}
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: 8px 36px;
  background: var(--navy); color: #e8eef3;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.ribbon p { margin: 0; }
.ribbon a { color: #fff; text-decoration: none; font-weight: 600; letter-spacing: 0.08em; }

.mast {
  position: relative;
  background: linear-gradient(180deg, #e8f0f6 0%, #d4e3ef 100%);
  text-align: center;
  padding: 28px 24px 46px;
}
.mast::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -16px;
  height: 32px;
  background:
    radial-gradient(circle at 50% 0, var(--paper) 62%, var(--hydro) 63%, var(--hydro) 70%, transparent 71%) 0 0 / 32px 32px repeat-x;
  pointer-events: none;
  z-index: 2;
}
.word { text-decoration: none; color: inherit; display: inline-block; }
.word-script {
  display: block;
  font-family: "Great Vibes", "Segoe Script", cursive;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  line-height: 1;
  color: var(--navy);
}
.word-line {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hydro-deep);
}
.mast nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 22px; margin-top: 18px;
  font-size: 0.92rem;
}
.mast nav a {
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.mast nav a:hover { border-bottom-color: var(--hydro); color: var(--hydro-deep); }

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 36px 56px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 48px auto 28px;
  padding-top: 12px;
}
.plate {
  width: min(420px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 28px rgba(30, 58, 95, 0.14));
}
.plate svg { width: 100%; height: auto; display: block; }
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hydro-deep);
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.lede {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.28rem;
  color: var(--mute);
  max-width: 38ch;
  margin: 0 0 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn {
  display: inline-block;
  background: var(--navy); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 12px 18px; border-radius: 999px;
}
.btn:hover { background: #152a46; }
.btn-ghost {
  display: inline-block;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 11px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--hydro); color: var(--hydro-deep); }

.gingham {
  height: 18px;
  margin: 12px 0 8px;
  background-color: var(--paper-deep);
  background-image:
    linear-gradient(90deg, rgba(123,163,201,.28) 50%, transparent 50%),
    linear-gradient(rgba(154,163,199,.2) 50%, transparent 50%);
  background-size: 12px 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 20px;
}
.sec-head { max-width: 46rem; margin-bottom: 28px; }
.sec-head h2, .atelier h2, .consult h2, .visit h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 10px;
}
.sec-lead { margin: 0; color: var(--mute); max-width: 52ch; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 0 rgba(123, 163, 201, 0.16);
}
.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: 16px 18px 18px; }
.card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem; font-weight: 600;
  margin: 0 0 4px;
}
.card-body p { margin: 0 0 8px; color: var(--mute); font-size: 0.92rem; }
.price {
  font-weight: 600; color: var(--ink) !important; font-size: 1rem !important;
}
.price span { font-weight: 400; color: var(--hydro-deep); font-size: 0.82rem; }

/* CSS product plates — hydrangea, navy, lilac */
.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: 14px;
}
.goods-bar.top { top: 0; background: var(--hydro); }
.goods-bar.bot { bottom: 0; background: var(--lilac); }

.sheet {
  position: absolute;
  background: var(--paper);
  box-shadow: 0 10px 20px rgba(30, 58, 95, 0.1);
}
.sheet::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -9px;
  height: 18px;
  background:
    radial-gradient(circle at 50% 0, var(--paper) 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: var(--paper);
  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: var(--paper);
  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,
      var(--paper) 0 8.3%,
      var(--hydro) 8.3% 16.6%,
      var(--paper) 16.6% 24.9%,
      var(--navy) 24.9% 33.2%,
      var(--paper) 33.2% 41.5%,
      var(--lilac) 41.5% 49.8%,
      var(--paper) 49.8% 58.1%,
      var(--hydro) 58.1% 66.4%,
      var(--paper) 66.4% 74.7%,
      var(--navy) 74.7% 83%,
      var(--paper) 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);
  text-shadow: 0 0 0 #fff;
}

.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);
}

.band {
  margin: 48px 0 0;
  padding: 42px 24px;
  background:
    radial-gradient(circle at 12% 40%, rgba(123,163,201,.55), transparent 28%),
    radial-gradient(circle at 86% 60%, rgba(197,192,216,.42), transparent 26%),
    linear-gradient(180deg, #d5e4f0, #c8c6d8);
  text-align: center;
  position: relative;
}
.band::before, .band::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 18px;
  background:
    radial-gradient(circle at 50% 100%, var(--paper) 70%, transparent 71%) 0 0 / 28px 18px repeat-x;
}
.band::before { top: -1px; transform: scaleY(-1); }
.band::after {
  bottom: -1px;
  background:
    radial-gradient(circle at 50% 100%, var(--paper) 70%, transparent 71%) 0 0 / 28px 18px repeat-x;
}
.band-script {
  font-family: "Great Vibes", "Segoe Script", cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  margin: 0;
}

.atelier {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.atelier-copy p { color: var(--mute); max-width: 42ch; }
.mono-controls { margin-top: 22px; }
.mono-controls label, .swatch-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  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: 28px; height: 28px; 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: #f7fafc;
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--ground);
  color: var(--thread);
  border: 14px double var(--thread);
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  align-items: center;
  justify-items: center;
  position: relative;
  box-shadow: 0 18px 40px rgba(30, 58, 95, 0.12);
}
.crest-ring {
  position: absolute; inset: 16px;
  border: 1px solid var(--thread);
  border-radius: 50%;
  opacity: 0.45;
  pointer-events: none;
}
.crest-left, .crest-right {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  z-index: 1;
}
.crest-script {
  font-family: "Great Vibes", "Segoe Script", cursive;
  font-size: 6.2rem;
  line-height: 0.8;
  z-index: 1;
  padding-bottom: 10px;
}
.crest-caption {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--mute);
}

.consult {
  padding: 28px 0 20px;
  background:
    linear-gradient(180deg, transparent, var(--paper-deep) 12%, var(--paper-deep) 88%, transparent);
}
.consult-card {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  box-shadow: 0 16px 0 rgba(123, 163, 201, 0.14);
  position: relative;
}
.consult-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background:
    repeating-linear-gradient(90deg, var(--hydro) 0 10px, var(--paper) 10px 20px, var(--lilac) 20px 24px, var(--paper) 24px 34px, var(--sea) 34px 38px, var(--paper) 38px 48px);
}
.consult-copy { padding: 42px 36px 36px; }
.consult-copy p { color: var(--mute); }
.phone-lg { margin-top: 18px; }
.phone-lg a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  text-decoration: none;
  color: var(--navy);
}
.phone-lg a:hover { color: var(--hydro-deep); }
.consult form { padding: 42px 36px 36px; display: grid; gap: 6px; }
.consult label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  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: 10px 12px;
  width: 100%;
}
.consult button {
  margin-top: 16px;
  appearance: none; border: 0;
  background: var(--navy); color: #fff;
  font: 600 0.92rem Outfit, sans-serif;
  padding: 12px 16px; border-radius: 999px;
  cursor: pointer;
}
.consult button:hover { background: #152a46; }
.form-done {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--hydro-deep);
}

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

.foot {
  margin-top: 28px;
  padding: 48px 24px 36px;
  background: var(--navy);
  color: #e8eef3;
  text-align: center;
  position: relative;
}
.foot::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -16px;
  height: 32px;
  background:
    radial-gradient(circle at 50% 100%, var(--navy) 70%, transparent 71%) 0 0 / 32px 32px repeat-x;
}
.foot-script {
  font-family: "Great Vibes", "Segoe Script", cursive;
  font-size: 2.2rem;
  color: #c5c0d8;
  margin: 0 0 6px;
}
.foot p:last-child {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7c4ce;
}

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


/* Real catalog photos sit in the mock plate frames */
.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%;
}

/* Editor + login chrome — same shop, not Ledger */
body.is-editor { padding-bottom: 4.6rem; }
:focus-visible { outline: 2px solid var(--hydro); outline-offset: 3px; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hydro-deep);
}
.btn-fill {
  display: inline-block;
  background: var(--navy); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  padding: 12px 18px; border-radius: 999px;
  appearance: none; border: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  cursor: pointer;
  line-height: 1.2;
}
.btn-fill:hover { background: #152a46; color: #fff; }
.btn-sm { padding: 8px 12px; font-size: 0.82rem; }
.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;
}
.form-success {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--hydro-deep);
}

.mast nav .nav-signed {
  color: var(--hydro-deep);
  border-bottom: 1px solid var(--hydro);
}

.login-page .consult { padding-top: 36px; padding-bottom: 48px; }
.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.4rem, 5vw, 3.4rem);
  line-height: 1;
  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 #5b87b0;
}
.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 16px 0 rgba(123, 163, 201, 0.16);
  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.72rem;
  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) {
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .login-page .consult-card { grid-template-columns: 1fr; }
}
