/* =========================================================
   ぬくもりの会 — 藍染 × 刺し子 デザインシステム
   Reworked to be visually distinct: washi + sashiko + indigo
   ========================================================= */

:root {
    /* --- Palette: 藍染(indigo) × 生成り(unbleached) × 朱赤(vermilion) × 抹茶 --- */
    --indigo-900: #12233b;   /* 濃藍 / deepest indigo */
    --indigo-800: #1b3a5b;
    --indigo-700: #234a72;   /* 藍 main */
    --indigo-500: #3f6a95;
    --indigo-200: #a9c1d6;

    --cream:      #f6efe2;   /* 生成り washi cream */
    --cream-2:    #efe4d0;   /* slightly deeper */
    --paper:      #fbf7ee;   /* pale paper */
    --white:      #ffffff;

    --vermilion:  #c8442f;   /* 朱赤 seal red */
    --vermilion-d:#a8351f;
    --matcha:     #7a8b5a;   /* 抹茶 olive */
    --gold:       #b8894b;   /* 金茶 */

    --ink:        #23303c;   /* sumi-ish text */
    --ink-sub:    #566572;
    --ink-mute:   #8a97a2;

    --line-cream: rgba(35, 48, 60, 0.14);
    --line-light: rgba(255, 255, 255, 0.22);

    --font-head: 'Shippori Mincho', 'Yu Mincho', serif;
    --font-body: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-1: 0 6px 20px -12px rgba(18, 35, 59, 0.35);
    --shadow-2: 0 24px 50px -28px rgba(18, 35, 59, 0.55);

    --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.85;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Asanoha (麻の葉) SVG pattern used as subtle texture, encoded inline */
:root {
    --asanoha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cg fill='none' stroke='%23234a72' stroke-width='1' stroke-opacity='0.14'%3E%3Cpath d='M30 0 L60 17 L60 52 L30 69 L0 52 L0 17 Z'/%3E%3Cpath d='M30 0 L30 34 M30 34 L60 17 M30 34 L0 17 M30 34 L60 52 M30 34 L0 52 M30 34 L30 69'/%3E%3Cpath d='M30 69 L60 86 L60 104 M30 69 L0 86 L0 104'/%3E%3C/g%3E%3C/svg%3E");
}

/* =========================================================
   Sashiko stitched border helper (dashed running-stitch)
   ========================================================= */
.stitch {
    position: relative;
    border: 1.5px solid var(--indigo-700);
    outline: 1.5px dashed var(--indigo-500);
    outline-offset: -7px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(246, 239, 226, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled {
    background: rgba(246, 239, 226, 0.94);
    box-shadow: var(--shadow-1);
    border-bottom-color: var(--line-cream);
}
.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--vermilion);
    color: var(--paper);
    border-radius: 6px;
    font-size: 19px;
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35), var(--shadow-1);
    transform: rotate(-3deg);
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--indigo-900); letter-spacing: .04em; }
.brand-en { font-size: 10.5px; letter-spacing: .18em; color: var(--ink-mute); text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.nav-item {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    padding: 8px 14px;
    line-height: 1.2;
    color: var(--indigo-900);
    transition: color .3s var(--ease);
}
.nav-item .nav-jp { font-weight: 500; font-size: 15px; }
.nav-item .nav-en { font-size: 9px; letter-spacing: .16em; color: var(--ink-mute); text-transform: uppercase; }
.nav-item::after {
    content: ''; position: absolute; left: 50%; bottom: 2px;
    width: 0; height: 2px; background: var(--vermilion);
    transform: translateX(-50%);
    transition: width .3s var(--ease);
}
.nav-item:hover { color: var(--vermilion); }
.nav-item:hover::after { width: 60%; }

.nav-cta {
    margin-left: 8px;
    padding: 11px 22px;
    background: var(--indigo-700);
    color: var(--paper);
    font-weight: 500;
    font-size: 14.5px;
    border-radius: 4px;
    box-shadow: var(--shadow-1);
    transition: transform .3s var(--ease), background .3s var(--ease);
}
.nav-cta:hover { background: var(--indigo-900); transform: translateY(-2px); }

.drawer-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.drawer-toggle span { width: 26px; height: 2px; background: var(--indigo-900); border-radius: 2px; transition: .3s var(--ease); }

/* Mobile drawer */
.drawer {
    position: fixed;
    top: 0; right: -300px;
    width: 280px; height: 100vh;
    background: var(--indigo-900);
    z-index: 300;
    padding: 92px 30px 30px;
    display: flex; flex-direction: column; gap: 6px;
    transition: right .4s var(--ease);
}
.drawer.active { right: 0; }
.drawer-link {
    color: var(--cream);
    font-family: var(--font-head);
    font-size: 18px;
    padding: 14px 4px;
    border-bottom: 1px dashed rgba(255,255,255,.18);
    transition: color .3s, padding-left .3s;
}
.drawer-link:hover { color: var(--vermilion); padding-left: 10px; }
.drawer-cta {
    margin-top: 18px; text-align: center;
    padding: 14px; background: var(--vermilion); color: var(--paper);
    border-radius: 4px; font-weight: 500;
}
.drawer-scrim {
    position: fixed; inset: 0; background: rgba(18,35,59,.5);
    backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; z-index: 250; transition: .4s;
}
.drawer-scrim.active { opacity: 1; visibility: visible; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    background: var(--indigo-900);
    color: var(--cream);
    padding: 150px 0 90px;
    overflow: hidden;
}
.hero-weave {
    position: absolute; inset: 0;
    background-image: var(--asanoha);
    background-size: 60px 104px;
    opacity: .55;
    mix-blend-mode: screen;
    animation: drift 60s linear infinite;
}
@keyframes drift { to { background-position: 60px 104px; } }
.hero::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -1px; height: 120px;
    background: linear-gradient(to bottom, transparent, var(--cream));
    z-index: 3;
}

.hero-grid {
    position: relative; z-index: 4;
    max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: 60px; align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 13px; letter-spacing: .05em;
    color: var(--indigo-200);
    padding: 7px 16px;
    border: 1px solid rgba(169, 193, 214, .35);
    border-radius: 40px;
    margin-bottom: 26px;
}
.hero-heading {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(38px, 5.8vw, 66px);
    line-height: 1.28;
    letter-spacing: .02em;
    margin-bottom: 28px;
}
.hero-heading .line { display: block; }
.hero-heading .accent {
    color: var(--paper);
    position: relative; display: inline-block;
}
.hero-heading .accent::after {
    content: '';
    position: absolute; left: -2%; right: -2%; bottom: 6px; height: 14px;
    background: var(--vermilion);
    opacity: .85; z-index: -1;
    transform: skewX(-12deg);
}
.hero-lead {
    font-size: 16px; line-height: 2;
    color: rgba(246, 239, 226, .82);
    max-width: 540px; margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 32px;
    font-size: 15.5px; font-weight: 500;
    border-radius: 4px;
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn-solid { background: var(--vermilion); color: var(--paper); box-shadow: 0 12px 26px -12px rgba(200,68,47,.8); }
.btn-solid:hover { background: var(--vermilion-d); transform: translateY(-3px); }
.btn-line { border: 1.5px solid rgba(246,239,226,.5); color: var(--cream); }
.btn-line:hover { background: var(--cream); color: var(--indigo-900); transform: translateY(-3px); }

.hero-meta { display: flex; align-items: center; gap: 22px; }
.meta-item { display: flex; flex-direction: column; }
.meta-num { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--paper); }
.meta-num small { font-size: 13px; font-weight: 500; margin-left: 2px; color: var(--indigo-200); }
.meta-label { font-size: 12px; color: var(--indigo-200); letter-spacing: .03em; }
.meta-rule { width: 1px; height: 38px; background: rgba(169,193,214,.3); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-frame {
    position: relative;
    border: 8px solid var(--cream);
    border-radius: 3px;
    box-shadow: var(--shadow-2);
    overflow: hidden;
    transform: rotate(1.5deg);
}
.hero-frame img { width: 100%; height: 460px; object-fit: cover; }
.frame-tag {
    position: absolute; left: 14px; bottom: 14px;
    background: var(--indigo-900);
    color: var(--cream);
    font-family: var(--font-head);
    font-size: 13px; letter-spacing: .08em;
    padding: 7px 14px; border-radius: 3px;
}
.hero-noren {
    position: absolute; top: -30px; right: -22px;
    display: flex; gap: 6px; z-index: 5;
}
.hero-noren span {
    display: block; width: 16px; height: 92px;
    background: var(--vermilion);
    border-radius: 0 0 3px 3px;
    box-shadow: var(--shadow-1);
}
.hero-noren span:nth-child(2) { height: 116px; background: var(--indigo-700); }
.hero-noren span:nth-child(3) { height: 78px; background: var(--gold); }

.scroll-cue {
    position: absolute; left: 50%; bottom: 26px; z-index: 6;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--indigo-200);
    font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-cue i { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(7px);} }

/* Hero entrance */
.hero-eyebrow, .hero-heading .line, .hero-lead, .hero-actions, .hero-meta, .hero-visual {
    opacity: 0; transform: translateY(26px);
    animation: rise .9s var(--ease) forwards;
}
.hero-heading .line:nth-child(1) { animation-delay: .12s; }
.hero-heading .line:nth-child(2) { animation-delay: .24s; }
.hero-lead { animation-delay: .36s; }
.hero-actions { animation-delay: .48s; }
.hero-meta { animation-delay: .58s; }
.hero-visual { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   Blocks & shared heading
   ========================================================= */
.block { padding: 100px 0; position: relative; }
.block-cream { background: var(--cream); }
.block-paper { background: var(--paper); }
.block-indigo { background: var(--indigo-900); color: var(--cream); }
.block-indigo::before {
    content: ''; position: absolute; inset: 0;
    background-image: var(--asanoha); background-size: 60px 104px;
    opacity: .4; mix-blend-mode: screen; pointer-events: none;
}
.block-indigo .container { position: relative; z-index: 2; }

.block-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; letter-spacing: .22em; font-weight: 700;
    color: var(--vermilion);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.kicker.light { color: var(--gold); }
.kicker-mark {
    display: grid; place-items: center;
    width: 30px; height: 30px;
    font-family: var(--font-head);
    font-size: 15px; letter-spacing: 0;
    color: var(--paper);
    background: var(--vermilion);
    border-radius: 50%;
}
.kicker.light .kicker-mark { background: var(--gold); color: var(--indigo-900); }

.block-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.35;
    letter-spacing: .03em;
    color: var(--indigo-900);
}
.block-title.left { text-align: left; }
.block-title.light { color: var(--paper); }
.block-head.light .block-title { color: var(--paper); }
.block-sub { margin-top: 16px; color: var(--ink-sub); font-size: 16px; }
.block-head.light .block-sub { color: var(--indigo-200); }

/* =========================================================
   Concept tiles (washi cards with sashiko border)
   ========================================================= */
.concept-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.tile {
    position: relative;
    background: var(--white);
    padding: 44px 34px 38px;
    border-radius: 4px;
    box-shadow: var(--shadow-1);
    border: 1px solid var(--line-cream);
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile::before {
    content: '';
    position: absolute; inset: 10px;
    border: 1.5px dashed var(--indigo-200);
    border-radius: 3px;
    pointer-events: none;
    opacity: .0;
    transition: opacity .45s var(--ease);
}
.tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.tile:hover::before { opacity: 1; }
.tile-index {
    font-family: var(--font-head);
    font-size: 40px; font-weight: 800;
    color: var(--cream-2);
    position: absolute; top: 18px; right: 24px;
    line-height: 1;
}
.tile-icon {
    width: 62px; height: 62px;
    display: grid; place-items: center;
    background: var(--indigo-900);
    color: var(--gold);
    border-radius: 50%;
    font-size: 25px;
    margin-bottom: 22px;
}
.tile h3 {
    font-family: var(--font-head);
    font-size: 21px; font-weight: 700;
    color: var(--indigo-900);
    margin-bottom: 14px;
    letter-spacing: .02em;
}
.tile p { color: var(--ink-sub); font-size: 15px; }

/* =========================================================
   Work rows (activities) — on indigo bg
   ========================================================= */
.work-list { display: flex; flex-direction: column; gap: 64px; }
.work-row {
    display: grid; grid-template-columns: 0.9fr 1.1fr;
    gap: 54px; align-items: center;
}
.work-row.reverse { grid-template-columns: 1.1fr 0.9fr; }
.work-row.reverse .work-media { order: 2; }
.work-media {
    position: relative;
    border: 7px solid var(--cream);
    border-radius: 3px;
    box-shadow: var(--shadow-2);
    overflow: hidden;
}
.work-media img { width: 100%; height: 360px; object-fit: cover; transition: transform .8s var(--ease); }
.work-row:hover .work-media img { transform: scale(1.05); }
.work-num {
    font-family: var(--font-head);
    font-size: 60px; font-weight: 800;
    color: rgba(184, 137, 75, .35);
    line-height: 1; display: block; margin-bottom: 6px;
}
.work-body h3 {
    font-family: var(--font-head);
    font-size: clamp(23px, 2.6vw, 30px); font-weight: 700;
    color: var(--paper);
    letter-spacing: .03em; margin-bottom: 14px;
}
.work-lead {
    color: var(--gold);
    font-size: 15px; font-weight: 500;
    padding-left: 16px; position: relative;
    margin-bottom: 16px;
}
.work-lead::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 8px; height: 8px; background: var(--vermilion);
    transform: translateY(-50%) rotate(45deg);
}
.work-body p { color: rgba(246,239,226,.82); font-size: 15.5px; }
.text-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px;
    color: var(--gold); font-weight: 500;
    border-bottom: 1px solid rgba(184,137,75,.4);
    padding-bottom: 3px;
    transition: gap .3s var(--ease), color .3s;
}
.text-link:hover { gap: 14px; color: var(--paper); }

/* =========================================================
   Product gallery
   ========================================================= */
.filter-bar {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
    margin-bottom: 44px;
}
.filter-btn {
    font-family: var(--font-body);
    font-size: 14.5px; font-weight: 500;
    padding: 10px 24px;
    background: transparent;
    color: var(--indigo-700);
    border: 1.5px solid var(--line-cream);
    border-radius: 40px;
    cursor: pointer;
    transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--indigo-700); }
.filter-btn.active { background: var(--indigo-900); color: var(--paper); border-color: var(--indigo-900); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line-cream);
    box-shadow: var(--shadow-1);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .3s, scale .3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.product-photo { position: relative; overflow: hidden; }
.product-photo img { width: 100%; height: 250px; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-photo img { transform: scale(1.06); }
.product-hover {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(18,35,59,.92), rgba(18,35,59,.15) 70%, transparent);
    display: flex; align-items: flex-end;
    padding: 22px; color: var(--cream);
    opacity: 0; transition: opacity .4s var(--ease);
    font-size: 14px; line-height: 1.7;
}
.product-card:hover .product-hover { opacity: 1; }
.product-info { padding: 24px; }
.product-cat {
    display: inline-block;
    font-size: 12px; letter-spacing: .05em;
    color: var(--vermilion);
    background: rgba(200,68,47,.08);
    padding: 4px 12px; border-radius: 30px;
    margin-bottom: 12px;
}
.product-info h3 {
    font-family: var(--font-head);
    font-size: 18px; font-weight: 700;
    color: var(--indigo-900);
    line-height: 1.5; margin-bottom: 12px;
}
.product-price {
    font-family: var(--font-head);
    font-size: 22px; font-weight: 700;
    color: var(--vermilion);
}
.product-price span { font-family: var(--font-body); font-size: 13px; color: var(--ink-mute); font-weight: 400; }

.note-panel {
    display: flex; gap: 22px; align-items: flex-start;
    margin-top: 48px;
    background: var(--white);
    border-left: 4px solid var(--gold);
    padding: 30px 34px;
    border-radius: 4px;
    box-shadow: var(--shadow-1);
}
.note-icon { color: var(--gold); font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.note-body h4 { font-family: var(--font-head); font-size: 18px; color: var(--indigo-900); margin-bottom: 8px; }
.note-body p { color: var(--ink-sub); font-size: 15px; }

/* =========================================================
   Guide flow + FAQ
   ========================================================= */
.flow-track {
    list-style: none;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    position: relative;
    counter-reset: none;
    margin-bottom: 72px;
}
.flow-node { position: relative; }
.flow-step {
    position: absolute; top: -18px; left: 24px; z-index: 3;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: var(--vermilion);
    color: var(--paper);
    font-family: var(--font-head);
    font-size: 18px; font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-1);
    border: 3px solid var(--paper);
}
.flow-card {
    background: var(--white);
    border: 1px solid var(--line-cream);
    border-radius: 4px;
    padding: 40px 24px 26px;
    height: 100%;
    box-shadow: var(--shadow-1);
    transition: transform .4s var(--ease);
}
.flow-node:hover .flow-card { transform: translateY(-6px); }
.flow-card h3 { font-family: var(--font-head); font-size: 18px; color: var(--indigo-900); margin-bottom: 12px; }
.flow-card p { font-size: 14.5px; color: var(--ink-sub); }

/* connector dashes between steps */
.flow-node:not(:last-child)::after {
    content: '';
    position: absolute; top: 5px; right: -16px;
    width: 12px; height: 8px;
    border-top: 2px dashed var(--indigo-200);
}

.faq-block { max-width: 820px; margin: 0 auto; }
.faq-title {
    font-family: var(--font-head);
    font-size: 24px; font-weight: 700;
    color: var(--indigo-900);
    text-align: center; margin-bottom: 28px;
    letter-spacing: .04em;
}
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--line-cream);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .3s var(--ease), border-color .3s;
}
.faq-item.active { border-color: var(--indigo-500); box-shadow: var(--shadow-1); }
.faq-question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 26px;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-head);
    font-size: 16.5px; font-weight: 600;
    color: var(--indigo-900);
    text-align: left;
}
.faq-question i { color: var(--vermilion); transition: transform .35s var(--ease); flex-shrink: 0; }
.faq-item.active .faq-question i { transform: rotate(135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-answer p { padding: 0 26px 24px; color: var(--ink-sub); font-size: 15px; }

/* =========================================================
   About / Info + Map
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.about-lead {
    font-size: 16px; color: var(--ink-sub);
    margin: 16px 0 30px; line-height: 2;
}
.info-panel {
    background: var(--white);
    border: 1px solid var(--line-cream);
    border-radius: 4px;
    box-shadow: var(--shadow-1);
    overflow: hidden;
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 16px 22px; text-align: left; vertical-align: top; font-size: 14.5px; }
.info-table th {
    width: 34%;
    background: var(--cream);
    font-family: var(--font-head);
    font-weight: 600; color: var(--indigo-900);
    border-bottom: 1px dashed var(--line-cream);
}
.info-table td { color: var(--ink-sub); border-bottom: 1px dashed var(--line-cream); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-mail {
    color: var(--vermilion);
    font-weight: 500;
    border-bottom: 1px solid rgba(200,68,47,.35);
    padding-bottom: 2px;
    transition: color .3s var(--ease), border-color .3s var(--ease);
    word-break: break-all;
}
.info-mail:hover { color: var(--vermilion-d); border-color: var(--vermilion-d); }

.map-panel {
    border: 7px solid var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow-2);
    overflow: hidden;
    line-height: 0;
}
.map-panel iframe { display: block; }

/* =========================================================
   Contact
   ========================================================= */
.contact-shell {
    display: grid; grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    background: var(--paper);
    border-radius: 6px;
    padding: 50px;
    box-shadow: var(--shadow-2);
    position: relative;
    overflow: hidden;
}
.contact-shell::before {
    content: '';
    position: absolute; inset: 14px;
    border: 1.5px dashed var(--indigo-200);
    border-radius: 4px; pointer-events: none;
}
.contact-intro { position: relative; z-index: 2; }
.contact-text { color: var(--ink-sub); font-size: 15.5px; margin: 14px 0 26px; }
.phone-card {
    display: flex; align-items: center; gap: 16px;
    background: var(--indigo-900);
    color: var(--cream);
    padding: 20px 24px;
    border-radius: 5px;
}
.phone-card i { font-size: 24px; color: var(--gold); }
.phone-num { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: .04em; }
.phone-time { display: block; font-size: 12.5px; color: var(--indigo-200); }

.contact-form { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
    font-family: var(--font-head);
    font-size: 14px; font-weight: 600; color: var(--indigo-900);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
}
.required { background: var(--vermilion); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 3px; font-family: var(--font-body); font-weight: 500; }
.optional { background: var(--ink-mute); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 3px; font-family: var(--font-body); }
.form-group input, .form-group select, .form-group textarea {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 13px 15px;
    background: var(--white);
    border: 1.5px solid var(--line-cream);
    border-radius: 4px;
    color: var(--ink);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
    width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--indigo-700);
    box-shadow: 0 0 0 3px rgba(35,74,114,.12);
}
.form-group textarea { resize: vertical; }
.error-msg { display: none; color: var(--vermilion); font-size: 12.5px; margin-top: 6px; }
.form-group.error input, .form-group.error select, .form-group.error textarea { border-color: var(--vermilion); background: rgba(200,68,47,.04); }
.form-group.error .error-msg { display: block; }

.submit-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 40px;
    background: var(--vermilion);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 16px; font-weight: 500;
    border: none; border-radius: 4px; cursor: pointer;
    box-shadow: 0 14px 30px -14px rgba(200,68,47,.8);
    transition: background .3s var(--ease), transform .3s var(--ease);
}
.submit-btn:hover:not(:disabled) { background: var(--vermilion-d); transform: translateY(-3px); }
.submit-btn:disabled { opacity: .7; cursor: default; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--indigo-900); color: var(--cream); padding: 70px 0 30px; position: relative; }
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: repeating-linear-gradient(90deg, var(--vermilion) 0 22px, transparent 22px 34px);
    opacity: .8;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 44px; margin-bottom: 44px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: var(--paper); }
.footer-desc { color: rgba(246,239,226,.72); font-size: 14.5px; max-width: 380px; }
.footer-col h4 {
    font-family: var(--font-head);
    font-size: 16px; color: var(--gold);
    margin-bottom: 18px; letter-spacing: .06em;
    position: relative; padding-bottom: 10px;
}
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(246,239,226,.75); font-size: 14px; transition: color .3s, padding-left .3s; }
.footer-col ul a:hover { color: var(--paper); padding-left: 6px; }
.footer-address, .footer-phone { color: rgba(246,239,226,.75); font-size: 14px; margin-bottom: 12px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(246,239,226,.55); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
    .primary-nav { display: none; }
    .drawer-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .hero-visual { max-width: 520px; }
    .work-row, .work-row.reverse { grid-template-columns: 1fr; gap: 26px; }
    .work-row.reverse .work-media { order: 0; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-shell { grid-template-columns: 1fr; padding: 40px 34px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .flow-track { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
    .flow-node:not(:last-child)::after { display: none; }
}
@media (max-width: 680px) {
    .block { padding: 72px 0; }
    .hero { padding: 128px 0 76px; }
    .concept-grid, .product-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .flow-track { grid-template-columns: 1fr; gap: 34px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-meta { flex-wrap: wrap; gap: 16px; }
    .hero-frame img { height: 340px; }
    .contact-shell { padding: 34px 22px; }
    .contact-shell::before { inset: 10px; }
    .header-inner { padding: 12px 20px; }
    .brand-name { font-size: 17px; }
}
