/* ============================================================ */
/*  Mathenaut — White base, Gyakusan-flavored consulting site   */
/* ============================================================ */

:root {
  --ink: #0F1B2D;
  --ink-soft: #4A5567;
  --ink-muted: #8A93A1;
  --navy: #1A3A5C;
  --navy-hover: #0F2742;
  --navy-accent: #2E5A8C;
  --paper: #FAFAF7;
  --paper-warm: #F4EDD8;
  --paper-line: #E6E3D8;
  --gold: #C9A961;
  --error: #E04A4A;
  --error-on-dark: #FF8C8C;
  --sticky-offset: 100px;
}

html {
  scroll-behavior: smooth;
  text-wrap: pretty;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Inter", system-ui, sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.02em;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(26,58,92,0.12);
}

/* Sticky-header offset for anchor jumps */
main section[id] {
  scroll-margin-top: var(--sticky-offset);
}

/* Balance headings to prevent widows */
h1, h2, h3 {
  text-wrap: balance;
}

/* ============================================================ */
/*  Skip link                                                    */
/* ============================================================ */
.skip-link {
  position: absolute;
  top: -200%;
  left: 8px;
  z-index: 100;
  background: var(--navy);
  color: var(--paper);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 2px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================ */
/*  Marquee                                                      */
/* ============================================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.marquee-track {
  display: inline-flex;
  gap: 3.5rem;
  animation: marqueeScroll 40s linear infinite;
  will-change: transform;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.marquee-x {
  display: inline-block;
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
  transform: translateY(-1px);
  font-size: 14px;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================ */
/*  Header                                                       */
/* ============================================================ */
.nav-link {
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width 0.4s cubic-bezier(0.2,0.8,0.2,1);
}
.nav-link:hover {
  color: var(--ink);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}
.nav-link.is-active {
  color: var(--navy);
  font-weight: 700;
}

.mobile-nav-link {
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line);
  display: block;
}

/* ============================================================ */
/*  CTA buttons                                                  */
/* ============================================================ */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--paper);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 0.3s ease, transform 0.3s ease;
  line-height: 1;
  white-space: nowrap;
}
.cta-primary:hover {
  background: var(--navy-hover);
}
.cta-primary:hover .cta-arrow {
  transform: translateX(4px);
}
.cta-arrow {
  transition: transform 0.3s ease;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 2px;
  border: 1.5px solid var(--ink);
  transition: background 0.3s ease, color 0.3s ease;
  line-height: 1;
  white-space: nowrap;
}
.cta-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================================ */
/*  Hero                                                         */
/* ============================================================ */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,27,45,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,27,45,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
}

.hero-underline {
  background-image: linear-gradient(transparent 68%, rgba(201,169,97,0.45) 68%, rgba(201,169,97,0.45) 96%, transparent 96%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Hero visual line draw animation (uses pathLength=1 on SVG elements) */
.visual-lines .line-anim {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawLine 1.2s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
.visual-lines .line-anim:nth-child(1) { animation-delay: 0.35s; }
.visual-lines .line-anim:nth-child(2) { animation-delay: 0.50s; }
.visual-lines .line-anim:nth-child(3) { animation-delay: 0.65s; }
.visual-lines .line-anim:nth-child(4) { animation-delay: 0.80s; }
.visual-lines .line-anim:nth-child(5) { animation-delay: 0.95s; }
.visual-lines .line-anim:nth-child(6) { animation-delay: 1.10s; }
.visual-lines .line-anim:nth-child(7) {
  animation-delay: 1.25s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.visual-nodes .node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodeFade 0.5s ease forwards;
}
.visual-nodes .node:nth-child(1) { animation-delay: 0.30s; }
.visual-nodes .node:nth-child(2) { animation-delay: 0.55s; }
.visual-nodes .node:nth-child(3) { animation-delay: 0.80s; }
.visual-nodes .node:nth-child(4) { animation-delay: 1.05s; }
.visual-nodes .node:nth-child(5) { animation-delay: 1.30s; }
.visual-nodes .node:nth-child(6) { animation-delay: 1.55s; }
.visual-nodes .node:nth-child(7) { animation-delay: 1.80s; }
@keyframes nodeFade {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.pulse-ring {
  transform-origin: 200px 200px;
  animation: pulseRing 3.4s ease-out infinite;
  animation-delay: 2.2s;
  opacity: 0;
}
@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ============================================================ */
/*  Section 02 — Worry cards                                     */
/* ============================================================ */
.worry-card {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.worry-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: 0 18px 40px -28px rgba(15,27,45,0.35);
}
.worry-card-head {
  border-bottom: 1px solid var(--paper-line);
  padding-bottom: 16px;
}
.worry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.worry-list li {
  position: relative;
  padding-left: 22px;
}
.worry-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75em;
  width: 12px;
  height: 1.5px;
  background: var(--navy);
}

/* ============================================================ */
/*  Reveal-on-scroll                                             */
/* ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.2,0.7,0.2,1) var(--delay, 0ms),
    transform 0.9s cubic-bezier(0.2,0.7,0.2,1) var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================ */
/*  Floating mobile CTA                                          */
/* ============================================================ */
.float-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--paper);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 36px -12px rgba(15,27,45,0.45);
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1), background 0.3s;
}
.float-cta.is-visible {
  transform: translateY(0);
}
.float-cta:hover {
  background: var(--navy-hover);
}

/* ============================================================ */
/*  Focus / Accessibility                                        */
/* ============================================================ */
*:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================ */
/*  Reduced motion                                               */
/* ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
  .visual-lines .line-anim { stroke-dashoffset: 0 !important; }
  .visual-nodes .node { opacity: 1 !important; transform: none !important; }
  .pulse-ring { display: none; }
}

/* ============================================================ */
/*  Section 03 — Cycle flow                                      */
/* ============================================================ */
.cycle-flow { list-style: none; padding: 0; }
.cycle-step {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.cycle-step:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -22px rgba(15,27,45,0.30);
}
.cycle-step-inner { flex: 1; }
.cycle-arrow {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  z-index: 2;
}
@media (max-width: 768px) {
  .cycle-arrow {
    top: auto; right: 50%;
    bottom: -20px;
    transform: translateX(50%) rotate(90deg);
  }
}
.cycle-step.is-last .cycle-arrow { display: none; }

/* ============================================================ */
/*  Section 04 — Service cards                                   */
/* ============================================================ */
.service-card {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.service-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -28px rgba(15,27,45,0.35);
}
.service-card-head {
  border-bottom: 1px solid var(--paper-line);
  padding-bottom: 22px;
}
.service-card-body { flex: 1; }
.service-list-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.service-list li {
  position: relative;
  padding-left: 22px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--gold);
}
.service-card-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  border-top: 1px dashed var(--paper-line);
  padding-top: 18px;
  font-size: 12.5px;
}
.service-card-meta dt {
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.service-card-meta dd {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

/* ============================================================ */
/*  Section 05 — Stance (warm)                                   */
/* ============================================================ */
.stance-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,58,92,0.10) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 70%, transparent 100%);
  pointer-events: none;
}
.promise-card {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(26,58,92,0.15);
  padding: 28px 26px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background 0.3s, border-color 0.3s, transform 0.4s;
}
.promise-card:hover {
  background: #FFFFFF;
  border-color: var(--navy);
  transform: translateY(-2px);
}

/* ============================================================ */
/*  Section 06 — Flow steps                                      */
/* ============================================================ */
.flow-list {
  list-style: none;
  padding: 0;
  position: relative;
}
.flow-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--paper-line);
  z-index: 0;
}
@media (min-width: 768px) {
  .flow-list::before { left: 36px; }
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 14px 0 28px 0;
  z-index: 1;
}
@media (min-width: 768px) {
  .flow-step {
    grid-template-columns: 88px 1fr;
    gap: 32px;
    padding: 18px 0 36px 0;
  }
}
.flow-step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  background: var(--paper);
  padding: 4px 0;
}
@media (min-width: 768px) {
  .flow-step-num { width: 88px; }
}
.flow-step-body {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  padding: 22px 24px;
  transition: border-color 0.4s, transform 0.4s;
}
.flow-step-body:hover {
  border-color: var(--navy);
}
.flow-step.is-last { padding-bottom: 0; }

/* ============================================================ */
/*  Section 07 — Pricing                                         */
/* ============================================================ */
.price-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}
.price-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -26px rgba(15,27,45,0.30);
}
.price-card.is-recommended {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
  transform: translateY(-12px);
  box-shadow: 0 24px 50px -22px rgba(15,27,45,0.55);
}
@media (max-width: 768px) {
  .price-card.is-recommended { transform: none; }
}
.price-card.is-recommended:hover { transform: translateY(-15px); }
@media (max-width: 768px) {
  .price-card.is-recommended:hover { transform: translateY(-3px); }
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  font-size: 12px;
  padding: 6px 14px;
  letter-spacing: 0.12em;
}
.price-card-eyebrow {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}
.price-card.is-recommended .price-card-eyebrow { color: rgba(244,237,216,0.6); }
.price-card-title {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.price-card.is-recommended .price-card-title { color: var(--paper); }
.price-card-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 4px 0 8px;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding: 18px 0;
  color: var(--navy);
  line-height: 1;
}
.price-card.is-recommended .price-card-amount {
  border-color: rgba(244,237,216,0.18);
  color: var(--gold);
}
.price-card-amount .num-from,
.price-card-amount .num-to {
  font-size: 42px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-card-amount .price-prefix {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-right: 4px;
}
.price-card.is-recommended .price-card-amount .price-prefix { color: var(--paper); }
.price-card-amount .price-unit {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.price-card.is-recommended .price-card-amount .price-unit { color: var(--paper); }
.price-card-amount .price-tilde {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-muted);
  margin: 0 2px;
}
.price-card.is-recommended .price-card-amount .price-tilde { color: rgba(244,237,216,0.6); }
.price-card-amount .price-per {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-left: 8px;
}
.price-card-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.price-card.is-recommended .price-card-desc { color: rgba(244,237,216,0.85); }

/* ============================================================ */
/*  Section 08 — Founder portrait                                */
/* ============================================================ */
.portrait-placeholder {
  position: relative;
  max-width: 240px;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--navy);
  background: var(--paper);
  padding: 6px;
  overflow: hidden;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
}
.portrait-frame::before {
  top: -7px; left: -7px;
  border-right: 0; border-bottom: 0;
}
.portrait-frame::after {
  bottom: -7px; right: -7px;
  border-left: 0; border-top: 0;
}
.portrait-caption {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--navy);
}
.founder-message {
  background: rgba(255,255,255,0.65);
  border-left: 3px solid var(--navy);
  padding: 22px 24px;
}

/* ============================================================ */
/*  Section 09 — FAQ                                             */
/* ============================================================ */
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.is-open { border-color: var(--navy); }
.faq-trigger {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.faq-q-mark {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
}
.faq-q-num {
  font-size: 14px;
  margin-left: 2px;
}
.faq-q-text {
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.55;
  flex: 1;
}
@media (min-width: 768px) {
  .faq-q-text { font-size: 17px; }
}
.faq-icon {
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-icon-v {
  opacity: 0;
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
  display: flex;
  gap: 18px;
  padding: 0 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.95;
}
.faq-item.is-open .faq-answer-inner {
  padding: 0 22px 24px 22px;
  border-top: 1px solid var(--paper-line);
  margin-top: -1px;
  padding-top: 18px;
}
.faq-a-mark {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

/* ============================================================ */
/*  Section 10 — Contact (navy)                                  */
/* ============================================================ */
.contact-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244,237,216,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,237,216,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, transparent 70%);
}
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(244,237,216,0.12);
  padding: 32px 28px;
}
@media (min-width: 768px) {
  .contact-form { padding: 40px 36px; }
}
.form-field { display: block; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--paper);
  margin-bottom: 8px;
}
.form-req {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  padding: 2px 6px;
  margin-left: 6px;
  letter-spacing: 0.05em;
}
.form-opt {
  display: inline-block;
  background: rgba(244,237,216,0.18);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  padding: 2px 6px;
  margin-left: 6px;
  letter-spacing: 0.05em;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(244,237,216,0.18);
  color: var(--paper);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}
.form-input::placeholder { color: rgba(244,237,216,0.6); }
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.10);
}
.form-textarea { resize: vertical; line-height: 1.7; }
.radio-pill {
  position: relative;
  display: block;
  cursor: pointer;
}
.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-pill span {
  display: block;
  text-align: center;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--paper);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(244,237,216,0.18);
  border-radius: 2px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.radio-pill:hover span { border-color: rgba(244,237,216,0.45); }
.radio-pill input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.radio-pill input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  padding: 16px 28px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, transform 0.3s;
}
.contact-submit:hover {
  background: #DDBE75;
}
.contact-submit:hover svg {
  transform: translateX(4px);
}
.contact-submit svg { transition: transform 0.3s ease; }
.form-status {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  min-height: 18px;
}
.form-status.is-error { color: var(--error-on-dark); }

/* ============================================================ */
/*  Footer                                                       */
/* ============================================================ */
.footer-link {
  display: inline-block;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: var(--navy);
  transition: width 0.3s ease;
}
.footer-link:hover {
  color: var(--ink);
}
.footer-link:hover::after { width: 100%; }

/* ============================================================ */
/*  Print                                                        */
/* ============================================================ */
@media print {
  .marquee, .float-cta, .contact-grid { display: none; }
  .price-card.is-recommended { background: white; color: var(--ink); border-color: var(--ink); }
}
