/* 鳶尾藍起家厝: one-page site styles.
   Palette from the fleur-de-lis logo (two blues) with warm paper neutrals.
   Text colours are chosen for >= 4.5:1 contrast on the surface they sit on. */

:root {
  --iris-900: #142a63;
  --iris-800: #1f3f8f;   /* logo dark blue: buttons, headings accents */
  --iris-600: #34509f;
  --iris-500: #5b6fb5;   /* logo light blue: decorative only (3.9:1 on paper) */
  --iris-200: #c9d1ec;
  --iris-100: #e3e8f6;
  --iris-50:  #f1f3fa;

  --paper:   #faf7f2;
  --sand:    #f3ede3;
  --sand-2:  #e7dece;
  --white:   #ffffff;
  --ink:     #1b2233;
  --ink-2:   #434a5a;
  --muted:   #5f5a50;
  --brass:   #7a5f30;
  --line:    #e4dccd;

  --draft-bg:   #fff1cc;
  --draft-ink:  #6e4500;
  --error:      #b3261e;

  --focus: #1f3f8f;

  --font-sans: "Noto Sans TC", "PingFang TC", "Heiti TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(27, 34, 51, .06), 0 2px 8px rgba(27, 34, 51, .05);
  --shadow:    0 2px 4px rgba(27, 34, 51, .05), 0 12px 32px rgba(27, 34, 51, .08);
  --header-h: 68px;
  --gutter: 16px;
}

@media (min-width: 760px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 760px) { body { font-size: 17px; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
a { color: var(--iris-800); text-underline-offset: 3px; }
a:hover { color: var(--iris-900); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.sprite { position: absolute; overflow: hidden; }
.fl-a { fill: var(--fl-a, var(--iris-500)); }
.fl-b { fill: var(--fl-b, var(--iris-800)); }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--iris-800); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.br-sm { display: inline; }
.br-md { display: none; }
@media (min-width: 560px) { .br-sm { display: none; } }
@media (min-width: 1080px) { .br-md { display: inline; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 10px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; letter-spacing: .06em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--iris-800); color: #fff; }
.btn-primary:hover { background: var(--iris-900); color: #fff; box-shadow: 0 6px 18px rgba(31, 63, 143, .28); }
.btn-light { background: #fff; color: var(--iris-800); }
.btn-light:hover { background: var(--iris-50); color: var(--iris-900); }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(27, 34, 51, .06); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 30px; height: 34px; }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 20px; letter-spacing: .12em; color: var(--iris-900); }
.header-cta { flex: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--ink);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul { list-style: none; }
.site-nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--iris-800); }

/* mobile / tablet: dropdown panel */
@media (max-width: 1079.98px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(27, 34, 51, .10);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .site-nav ul { padding: 8px var(--gutter) 20px; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 4px; font-size: 17px; }
}
@media (max-width: 379.98px) { .brand-name { font-size: 18px; letter-spacing: .06em; } .header-cta { padding-inline: 12px; } }

/* desktop: inline links */
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15.5px; position: relative; }
  .site-nav a[aria-current="true"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--iris-500); border-radius: 2px;
  }
  .header-cta { margin-left: 12px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex; align-items: center;
  padding-block: 72px 96px;
}
/* Photo placeholder layer: replace with the real background image, keep the overlay. */
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(115deg, rgba(20, 42, 99, .96) 0%, rgba(31, 63, 143, .90) 45%, rgba(91, 111, 181, .78) 100%),
    repeating-linear-gradient(135deg, #8a93a8 0 2px, #9aa2b5 2px 22px);
}
.hero::after { /* soft warm light from the lower right, like late sun on a wall */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 85% 100%, rgba(243, 237, 227, .16), transparent 70%);
}
.hero-mark {
  position: absolute; z-index: -1; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(56vw, 560px); height: auto; aspect-ratio: 100 / 112; opacity: .12;
  --fl-a: #fff; --fl-b: #c9d1ec;
}
.hero-inner { position: relative; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 22px; padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
  font-size: 14px; letter-spacing: .12em; color: #fff; background: rgba(255, 255, 255, .08);
}
.hero-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(36px, 8.6vw, 72px); line-height: 1.25; letter-spacing: .06em;
  text-shadow: 0 2px 24px rgba(10, 20, 50, .25);
}
.hero-lead { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 2.2vw, 21px); color: #f1f3fa; }
@media (max-width: 419.98px) { .hero-eyebrow { font-size: 13px; letter-spacing: .04em; padding-inline: 12px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 559.98px) { .hero-actions .btn { width: 100%; } }
.ph-badge {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 4px 10px; border-radius: 6px; font-size: 13px; letter-spacing: .05em;
}
.hero-ph-badge { position: absolute; right: var(--gutter); bottom: 18px; background: rgba(0, 0, 0, .32); color: #fff; border: 1px dashed rgba(255, 255, 255, .6); }

/* ---------- sections ---------- */
.section { padding-block: 72px; }
@media (min-width: 760px) { .section { padding-block: 112px; } }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--brass);
}
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-head.center .kicker::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-title {
  font-family: var(--font-serif); font-size: clamp(26px, 4.4vw, 40px); letter-spacing: .05em; color: var(--iris-900);
}
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head .head-mark { width: 30px; height: 34px; margin: 0 auto 14px; }
.section-intro { max-width: 40em; margin: 18px auto 0; color: var(--ink-2); }
.section-note { max-width: 40em; margin: 10px auto 0; font-size: 14px; color: var(--ink-2); }
.sub-title {
  display: flex; align-items: center; gap: 14px; margin: 0 0 24px;
  font-family: var(--font-serif); font-size: 22px; letter-spacing: .08em; color: var(--ink);
}
.sub-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- photo placeholders ---------- */
.ph {
  position: relative; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, var(--sand) 0 12px, var(--sand-2) 12px 13px);
  border: 1px dashed #b9ab92; border-radius: var(--radius); color: var(--muted);
}
.ph-label { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 15px; font-weight: 500; padding: 10px 14px; background: rgba(250, 247, 242, .9); border-radius: 8px; }
.ph-label small { font-size: 13px; font-weight: 400; }
.ph-label .icon { width: 24px; height: 24px; }
.ph-portrait { aspect-ratio: 4 / 5; }

/* ---------- story ---------- */
.story-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.story-text .section-title { margin-bottom: 28px; }
.story-text > p { color: var(--ink-2); }
.story-lead { font-family: var(--font-serif); font-size: 21px; color: var(--ink) !important; }
.story-sign {
  display: flex; gap: 16px; align-items: center; margin-top: 32px; padding: 20px 22px;
  background: var(--white); border-left: 3px solid var(--iris-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow-sm);
}
.story-sign p { font-family: var(--font-serif); font-weight: 600; color: var(--iris-900); line-height: 1.9; }
.story-sign-mark { width: 34px; height: 38px; flex: none; }
.story-figure { margin: 0; position: relative; }
.story-figure::before { /* offset frame */
  content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 1px solid var(--iris-200); border-radius: var(--radius); z-index: -1;
}
@media (max-width: 899.98px) { .story-figure { max-width: 420px; width: calc(100% - 14px); } }

/* ---------- cards ---------- */
.cards { display: grid; gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .cards-5, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cards-5 { grid-template-columns: repeat(5, 1fr); } }

/* ---------- service ---------- */
.service { background: var(--white); border-block: 1px solid var(--line); }
.service .sub-title:not(:first-of-type) { margin-top: 72px; }
.service-card { padding: 26px 22px; transition: transform .25s, box-shadow .25s, border-color .25s; background: var(--paper); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--iris-200); }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--iris-800); color: #fff;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h4 { font-size: 19px; margin-bottom: 8px; color: var(--iris-900); letter-spacing: .06em; }
.service-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; }
@media (max-width: 639.98px) { /* phone: icon beside the text keeps five cards short */
  .service-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px 18px; }
  .service-card .card-icon { grid-row: span 2; width: 48px; height: 48px; margin: 2px 0 0; }
  .service-card h4 { margin-bottom: 2px; }
}

/* step flow: wraps 2 / 4 / 8 per row */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; counter-reset: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(8, 1fr); gap: 16px; } }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 14px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--iris-800);
  font-family: var(--font-serif); font-weight: 700; font-size: 16px; color: var(--iris-800); letter-spacing: 0;
}
.step:nth-child(6) .step-num { background: var(--iris-800); color: #fff; } /* 完工三拍: the signature step */
.step::before { /* connector to the next step */
  content: ""; position: absolute; top: 24px; left: 56px; right: -8px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--iris-200) 0 6px, transparent 6px 10px);
}
.step:nth-child(2n)::before { display: none; }
@media (min-width: 760px) {
  .step:nth-child(2n)::before { display: block; }
  .step:nth-child(4n)::before { display: none; }
  .step::before { right: -12px; }
}
@media (min-width: 1200px) {
  .step:nth-child(4n)::before { display: block; }
  .step:last-child::before { display: none; }
  .step::before { right: -8px; }
}
.step h4 { font-size: 18px; color: var(--iris-900); margin-bottom: 4px; letter-spacing: .08em; }
.step p { font-size: 15px; color: var(--ink-2); line-height: 1.7; }

.split { display: grid; gap: 18px; margin-top: 72px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 24px; } }
.panel { padding: 30px 26px; border-radius: var(--radius); background: var(--iris-50); border: 1px solid var(--iris-100); }
.panel-title { font-family: var(--font-serif); font-size: 22px; color: var(--iris-900); margin-bottom: 18px; letter-spacing: .08em; }
.ticks li { display: flex; gap: 12px; padding: 10px 0; color: var(--ink); }
.ticks li + li { border-top: 1px solid var(--iris-100); }
.ticks .icon { margin-top: .32em; color: var(--iris-800); stroke-width: 2.2; }

/* ---------- cases ---------- */
.case-card { overflow: hidden; display: flex; flex-direction: column; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ph-ba { aspect-ratio: 4 / 3; border-radius: 0; border: 0; }
.ph-ba .ph-label { font-size: 14px; }
.ph-after { background: repeating-linear-gradient(135deg, var(--iris-50) 0 12px, var(--iris-100) 12px 13px); color: var(--iris-800); }
.case-body { padding: 22px 22px 26px; }
.case-title { font-size: 19px; color: var(--iris-900); margin: 12px 0 14px; letter-spacing: .04em; }
.case-facts { margin: 0; display: grid; gap: 10px; }
.case-facts > div { display: grid; grid-template-columns: 3.2em 1fr; gap: 8px; font-size: 15.5px; line-height: 1.7; }
.case-facts dt { color: var(--brass); font-weight: 700; }
.case-facts dd { margin: 0; color: var(--ink-2); }
.case-result { padding-top: 10px; border-top: 1px dashed var(--line); }
.case-result dd { color: var(--iris-800); font-weight: 500; }

.tag-draft {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--draft-bg); color: var(--draft-ink); border: 1px dashed #c99a3d;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; line-height: 1.5;
}
.tag-draft::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c98a00; }

/* ---------- testimonials ---------- */
.voices { position: relative; overflow: hidden; background: var(--iris-800); color: #fff; --focus: #ffd27a; }
.voices .kicker { color: #e9d9b8; }
.voices .section-title { color: #fff; }
.voices-mark { position: absolute; left: -80px; bottom: -60px; width: 340px; height: 380px; opacity: .08; --fl-a: #fff; --fl-b: #fff; }
.quote-card { position: relative; height: 100%; margin: 0; padding: 26px 24px 24px; display: flex; flex-direction: column; border: 0; box-shadow: 0 18px 40px rgba(10, 20, 50, .25); }
.quote-card .tag-draft { align-self: flex-start; }
.quote-icon { display: block; height: 44px; margin: 14px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 72px; line-height: 1; color: var(--iris-500); }
.quote-card blockquote { margin: 0 0 22px; flex: 1; color: var(--ink); font-size: 17px; line-height: 1.9; }
.quote-card figcaption { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--line); }
.quote-name { font-weight: 700; color: var(--iris-900); }
.quote-role { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-head .section-title { margin-bottom: 24px; }
@media (max-width: 959.98px) { .faq-head .btn { display: none; } .faq-head .section-title { margin-bottom: 0; } }
.accordion { display: grid; gap: 10px; }
.accordion details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.accordion details[open] { border-color: var(--iris-200); box-shadow: var(--shadow-sm); }
.accordion summary {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none;
  font-weight: 700; line-height: 1.6; border-radius: var(--radius-sm);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: .45em; width: 10px; height: 10px;
  border-right: 2px solid var(--iris-800); border-bottom: 2px solid var(--iris-800);
  transform: rotate(45deg); transition: transform .25s;
}
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: .7em; }
.accordion summary:hover .q-text { color: var(--iris-800); }
.q {
  flex: none; min-width: 2.6em; padding: 1px 0; text-align: center;
  font-family: var(--font-serif); font-size: 14px; color: var(--iris-800); background: var(--iris-50); border-radius: 6px; letter-spacing: 0;
}
.q-text { flex: 1; }
.accordion .a { padding: 0 20px 20px calc(20px + 2.6em + 14px); color: var(--ink-2); }
@media (max-width: 559.98px) { .accordion .a { padding-left: 20px; } }

/* ---------- 都更開發 / OPC ---------- */
.lines { background: var(--sand); border-top: 1px solid var(--line); }
.lines-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .lines-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.line-card {
  position: relative; display: flex; flex-direction: column; padding: 34px 28px;
  background: var(--white); border-radius: var(--radius); border-top: 4px solid var(--iris-800); box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.line-card + .line-card { border-top-color: var(--iris-500); }
.line-title { font-family: var(--font-serif); font-size: clamp(22px, 3vw, 27px); color: var(--iris-900); letter-spacing: .04em; margin-bottom: 18px; }
.line-lead { font-family: var(--font-serif); font-weight: 600; color: var(--ink); }
.line-card > p:not(.kicker):not(.line-lead):not(.line-note) { color: var(--ink-2); }
.line-card .btn { align-self: flex-start; margin-top: auto; }
.line-card > p:nth-last-of-type(2) { margin-bottom: 28px; }
.line-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-info .section-title { margin-bottom: 30px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--iris-50); color: var(--iris-800); }
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { display: block; font-size: 13px; color: var(--muted); letter-spacing: .1em; line-height: 1.4; }
.contact-list a { font-size: 18px; font-weight: 700; text-decoration: none; word-break: break-all; }
.contact-list a:hover { text-decoration: underline; }
.line-box { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.qr-ph {
  display: grid; place-items: center; width: 112px; height: 112px; flex: none; text-align: center;
  font-size: 13px; line-height: 1.5; color: var(--muted); border: 1px dashed #b9ab92; border-radius: 10px;
  background:
    linear-gradient(var(--paper), var(--paper)) center / 64px 40px no-repeat,
    repeating-conic-gradient(var(--sand-2) 0 25%, var(--white) 0 50%) 0 0 / 14px 14px;
}
.line-box-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #06663a; margin-bottom: 4px; }
.line-box-text { font-size: 15px; color: var(--ink-2); }

.form-card { padding: 28px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .form-card { padding: 40px; } }
.form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.req { color: var(--error); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 16px; color: var(--ink); line-height: 1.5;
  background: var(--paper); border: 1.5px solid #cfc4b0; border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field ::placeholder { color: #7b7468; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--iris-800); background: #fff; box-shadow: 0 0 0 4px rgba(91, 111, 181, .25);
}
.field [aria-invalid="true"] { border-color: var(--error); background: #fff8f7; }
.field-error { margin: 6px 0 0; font-size: 14px; color: var(--error); }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg);
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.field select:invalid { color: #7b7468; }
.form-hint { font-size: 14px; color: var(--muted); margin: -4px 0 0; }
.form-draft-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.form-draft-note-center { justify-content: center; margin-top: 18px; font-weight: 400; }
.form-thanks { padding: 48px 12px; text-align: center; font-size: 18px; font-weight: 500; color: var(--iris-900); }
.form-thanks:focus { outline: none; }
.thanks-mark { width: 52px; height: 58px; margin: 0 auto 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--iris-900); color: #dfe4f3; padding-top: 64px; --focus: #ffd27a; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; align-items: start; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr auto 1.4fr; gap: 64px; } }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { width: 40px; height: 45px; --fl-a: #c9d1ec; --fl-b: #fff; }
.footer-name { margin: 0; font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: .14em; color: #fff; }
.footer-nav ul { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; justify-content: start; }
@media (min-width: 900px) { .footer-nav ul { grid-template-columns: auto; } }
.footer-nav a { color: #fff; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; color: #fff; }
.footer-heading { font-size: 15px; letter-spacing: .12em; color: #fff; margin-bottom: 8px; }
.footer-privacy p { font-size: 14.5px; line-height: 1.85; color: #d3daee; }
.footer-bottom { margin: 0; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #c4cce6; }
