/* ==========================================================================
   Footer + homepage closing — spec "Chân trang và màn kết", Linh, 10 Nov 2026.
   One navy #0E1A24 block, full-bleed, one left-aligned column (560px from 768px).
   No logo, icons, rules, filled buttons, rounded corners, text-shadow, brush font.
   ========================================================================== */
.design-b .ft, .ft-end {
	--ft-navy: #0E1A24;
	--ft-cream: #F4EFE6;
	--ft-gold: #B89B5E;
	--ft-serif: 'Cormorant Garamond', Georgia, serif;
	--ft-label: 'Montserrat', system-ui, sans-serif;
	background: var(--ft-navy);
	color: var(--ft-cream);
	text-shadow: none;
}
/* iOS rubber-band past the bottom shows the canvas: keep it navy, the page itself stays cream */
html { background: #0E1A24; }
body { min-height: 100vh; }

.design-b .ft { margin: 0; padding: 72px 24px 48px; border: 0; font-size: 16px; line-height: 1.4; }
.ft__in, .ft-end__in { max-width: 560px; margin-inline: auto; }
.ft p { margin: 0; }
.ft a { color: inherit; text-decoration: none; transition: color .3s ease; }


/* Six links in two columns (3 + 3, top to bottom): 20/34 visible rhythm, each tap area 44px (padding, not extra space) */
.ft__nav { margin-top: 40px; }
.ft__list { list-style: none; margin: -5px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 16px; }
.ft__list li { margin: 0; padding: 0; }
.ft__list li::before, .ft__list li::marker { content: none; }
.design-b .ft__list a { display: inline-block; padding: 5px 0; font-family: var(--ft-serif); font-weight: 400; font-size: 20px; line-height: 34px; letter-spacing: 0; color: var(--ft-cream); }
.ft__list li { margin-top: -10px; }
.ft__list li:nth-child(3n+1) { margin-top: 0; }

/* Email left, Instagram right, both ends on the margins */
.design-b .ft__copy { margin-top: 48px; font-family: var(--ft-serif); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: 0; color: rgba(244,239,230,.6); }
.design-b .ft__legal { margin-left: 20px; }
.design-b .ft__legal a { display: inline-block; padding: 12px 0; margin: -12px 0; color: inherit; text-decoration: none; transition: color .3s ease; }
.design-b .ft__legal a + a { margin-left: 16px; }
.design-b .ft__legal a:hover, .design-b .ft__legal a:focus-visible { color: rgba(244,239,230,.85); }

/* Hover: a touch lighter, 300ms */
.design-b .ft__list a:hover { color: #FFFFFF; }
.ft :focus-visible, .ft-end :focus-visible { outline: 1px solid var(--ft-gold); outline-offset: 4px; }

/* Homepage closing words: same navy, no rule, height from content --------- */
.ft-end { padding: 64px 24px 72px; }
.design-b .ft-end__line { margin: 0; font-family: var(--ft-serif); font-weight: 300; font-style: italic; font-size: 42px; line-height: 48px; letter-spacing: 0; color: var(--ft-cream); }
.ft-end__l1, .ft-end__l2 { display: block; }
.ft-end__l2 { text-align: right; }
.ft-end__btn { display: inline-flex; align-items: center; height: 48px; margin-top: 40px; padding: 0 calc(28px - .22em) 0 28px; border: 1px solid var(--ft-gold); border-radius: 0; background: none; font-family: var(--ft-label); font-weight: 400; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ft-cream); text-decoration: none; transition: border-color .3s ease; }
.ft-end__btn:hover { border-color: var(--ft-cream); color: var(--ft-cream); }
.design-b.home .ft { padding-top: 0; }

/* Vietnamese: capitals with marks look heavy — sentence case */
:lang(vi) .ft-end__btn { text-transform: none; letter-spacing: .08em; font-size: 12px; }

/* Fade: opacity only, 800ms, once (main.js), off with reduced motion */
.fade-ready .ft [data-fade], .fade-ready .ft-end [data-fade] { opacity: 0; transition: opacity .8s ease-out; }
.fade-ready .ft [data-fade].is-in, .fade-ready .ft-end [data-fade].is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.fade-ready .ft [data-fade], .fade-ready .ft-end [data-fade] { opacity: 1; transition: none; }
	.ft a, .ft-end__btn { transition: none; }
}

/* ==========================================================================
   Chỉnh sửa v1 (Linh, 18 Nov 2026)
   ========================================================================== */
/* Vertical rhythm at 390px: navy top → "Lynh Ko" 56px; name, tag, links, email row unchanged;
   email row → © 24px (the two small rows read as one group); © → page bottom 56px. */
.design-b .ft { padding-top: 56px; padding-bottom: 56px; }
.design-b .ft__copy { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 0; }
/* TOKYO on the © row, right: Montserrat 11px caps .22em, cream 70%. If it does not fit, it goes (no extra line). */
.ft__city { margin-left: auto; padding-left: 16px; font-family: var(--ft-label); font-weight: 400; font-size: 11px; line-height: 20px; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,239,230,.7); }
@media (max-width: 329px) { .ft__city { display: none; } }
:lang(vi) .ft__city { text-transform: none; letter-spacing: .08em; font-size: 12px; }

/* The name block looks the same in the hero, the open menu and the footer:
   "Lynh Ko" in cream, KINTSUGI · TEA in gold (as in the hero). */

/* ==========================================================================
   Chỉnh sửa v2 (Linh, 19 Nov 2026) — phone footer, new order:
   (1) signature block (the menu's component, no slogan): Lynh Ko 26/30, KINTSUGI · TEA gold 10px (8px under),
       22px under it @lynh.ko then the email stacked, 16/26, cream 70%, left;
   (2) 44px under: two equal link columns (159px each at 390px, 24px gap, right one starts 207px from the edge), 19/32;
   (3) 44px under: "© 2026 Lynh Ko   Terms   Privacy" 13px, cream 60%.
   Padding in the navy block: 56px top, 24px sides, 40px bottom.
   ========================================================================== */
.design-b .ft { padding: 56px 24px 40px; }
.design-b.home .ft { padding-top: 0; }
.design-b .sig--ft .sig__name { font-size: 26px; line-height: 30px; }
.design-b .sig--ft .sig__tag { font-size: 10px; line-height: 14px; }
.design-b .sig--ft .sig__contact { margin-top: 22px; font-size: 16px; line-height: 26px; }
.design-b .sig--ft .sig__contact { display: flex; flex-direction: column; align-items: flex-start; } /* flex: the negative margins do not collapse */
.sig--ft .sig__contact a { padding: 9px 0; margin: -9px 0; } /* 44px tap area, 26px rhythm */
.ft__nav { margin-top: 44px; }
.ft__list { margin: -6px 0; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.design-b .ft__list a { padding: 6px 0; font-size: 19px; line-height: 32px; }
.ft__list li { margin-top: -12px; }
.ft__list li:nth-child(3n+1) { margin-top: 0; }
.design-b .ft__copy { margin-top: 44px; font-size: 13px; line-height: 20px; }
