/* Self-hosted from Google Fonts (SIL Open Font License). Thai + Latin subsets. */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/sarabun-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/sarabun-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sarabun-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sarabun-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Taviraj';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/taviraj-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: 'Taviraj';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/taviraj-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Marcellus SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/marcellus-sc-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Vazirmatn (SIL OFL): Persian, used only by the Farsi photo manager page */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/vazirmatn-400-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/vazirmatn-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* =============================================================================
   Eagle Persian Carpet
   The page is built like a rug: indigo borders, guard stripes between
   sections, ivory field, and a fringe where the page ends.
   ============================================================================= */

:root {
  /* Dyes, taken from the rugs in the shop's own photos */
  --deep:       #861620;   /* madder red: the field of a Kashan rug */
  --deep-2:     #971D28;
  --deep-3:     #A92731;
  --navy:       #1C2541;   /* indigo border of the rug */
  --navy-2:     #2A3663;
  --madder:     #A3202A;   /* red used on light grounds */
  --madder-dk:  #7E1720;
  --saffron:    #D4A43A;   /* gold thread */
  --saffron-lt: #E6C067;
  --ivory:      #F4ECDD;   /* undyed wool field */
  --ivory-2:    #EADFCB;
  --ivory-3:    #D8C8AC;
  --paper:      #FBF7EF;
  --ink:        #1E1A17;
  --ink-2:      #4A4038;
    --line-green: #008C39;   /* LINE, darkened for readable white text */
  --floor:      #3A080D;   /* the floor under the rug */

  --f-body:  "Sarabun", "Leelawadee UI", "Tahoma", system-ui, sans-serif;
  --f-head:  "Taviraj", "Sarabun", Georgia, serif;
  --f-mark:  "Marcellus SC", "Taviraj", Georgia, serif;

  --wrap: 1180px;
  --pad: clamp(18px, 4vw, 32px);

  /* section-scoped colour roles, overridden by .sec--* */
  --bg: var(--ivory);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --rule: var(--ivory-3);
  --accent: var(--madder);

  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .16s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--floor);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.125rem;          /* 18px: comfortable for older readers */
  line-height: 1.8;
  overflow-x: hidden;
}
:lang(en) body, body:lang(en) { line-height: 1.7; }

h1, h2, h3 {
  font-family: var(--f-head); font-weight: 600; margin: 0 0 .5em;
  line-height: 1.35; text-wrap: balance; color: inherit;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 2.9vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.45rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; z-index: 200; background: var(--saffron); color: var(--navy); padding: 12px 18px; font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }

.mark { font-family: var(--f-mark); letter-spacing: .08em; }

/* ------------------------------------------------------------------ icons */
.i { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: currentColor; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: 0 22px; border-radius: 6px; border: 2px solid transparent;
  font: 600 1.1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
/* icons centred on the visual middle of the words (most button text is lowercase); the LINE
   bubble has a tail at the bottom, so it sits a touch lower still. Checked on real renders. */
.btn > .i { transform: translateY(.085em); }
.btn-line > .i { transform: translateY(.13em); }
/* call buttons: a smaller handset, centred on the digits (digits are capital height) */
.calls .btn > .i { width: 1.05em; height: 1.05em; transform: translateY(.03em); }
.btn-dir   { background: var(--saffron); color: var(--navy); }
.btn-dir:hover { background: var(--saffron-lt); color: var(--navy); }
.btn-call  { background: var(--navy); color: #fff; }
.btn-call:hover { background: var(--navy-2); color: #fff; }
.btn-line  { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #007530; color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); border-color: currentColor; }
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- bands */
/* A guard stripe: the thin repeating border between a rug's main borders */
.band { height: 16px; background-repeat: repeat-x; background-position: center; }
.band--gold {
  background-color: var(--deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cg fill='none' stroke='%23D4A43A'%3E%3Cpath d='M0 1.5h32M0 14.5h32'/%3E%3Cpath d='M16 3.5l4.5 4.5-4.5 4.5L11.5 8z' fill='%231C2541'/%3E%3C/g%3E%3Ccircle cx='0' cy='8' r='1.6' fill='%23D4A43A'/%3E%3Ccircle cx='32' cy='8' r='1.6' fill='%23D4A43A'/%3E%3C/svg%3E");
}
.band--red {
  background-color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16'%3E%3Cg fill='none' stroke='%23A3202A'%3E%3Cpath d='M0 1.5h32M0 14.5h32'/%3E%3Cpath d='M16 3.5l4.5 4.5-4.5 4.5L11.5 8z' fill='%231C2541'/%3E%3C/g%3E%3Ccircle cx='0' cy='8' r='1.6' fill='%23A3202A'/%3E%3Ccircle cx='32' cy='8' r='1.6' fill='%23A3202A'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- sections */
.sec { padding-block: clamp(44px, 5.5vw, 72px); background: var(--bg); color: var(--fg); }
.sec--deep {
  --bg: var(--deep); --fg: var(--ivory); --fg-2: #EFD8CA; --rule: rgba(212,164,58,.3); --accent: var(--saffron-lt);
}
.sec--ivory { --bg: var(--ivory); }
.sec--paper { --bg: var(--paper); --rule: var(--ivory-2); }
.lattice {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23D4A43A' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M0 60L60 0l60 60-60 60z'/%3E%3Ccircle cx='60' cy='60' r='9'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Ccircle cx='120' cy='0' r='9'/%3E%3Ccircle cx='0' cy='120' r='9'/%3E%3Ccircle cx='120' cy='120' r='9'/%3E%3C/g%3E%3C/svg%3E");
}
.sec-head { max-width: 860px; margin-bottom: clamp(20px, 2.8vw, 30px); }
.sec-head p { color: var(--fg-2); font-size: 1.15rem; }
.sec-head h2 { text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.15rem); margin-bottom: .3em; }
.center { text-align: center; margin-inline: auto; }

/* ----------------------------------------------------------------- header */
.topline { background: var(--floor); color: #EFD8CA; font-size: .95rem; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; flex-wrap: wrap; }
.topline a { color: var(--ivory); text-decoration: none; }
.topline a:hover { color: var(--saffron-lt); text-decoration: underline; }
.topline-l, .topline-r, .topline-phones { display: flex; align-items: center; gap: 18px; }
.topline-phones { margin-inline-start: auto; gap: 22px; }
.topline-phones a { white-space: nowrap; }
/* icons sit centred on the text line, not on the baseline */
.topline-phones a { display: inline-flex; align-items: center; gap: 6px; }
/* 3:2 flags a little taller than the digits, with a hairline edge so the white stripes show on the dark bar */
.flag { display: block; flex: 0 0 auto; width: 1.17em; height: .78em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(244,236,221,.28); transform: translateY(.045em); }
.foot-phone { display: flex; align-items: center; gap: 8px; }
.phone-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; line-height: 1; color: var(--saffron-lt); }
.langs { display: inline-flex; border: 1px solid rgba(244,236,221,.35); border-radius: 5px; overflow: hidden; }
.langs a { padding: 3px 11px; font-weight: 600; text-decoration: none; color: inherit; line-height: 1.6; }
.langs a + a { border-inline-start: 1px solid rgba(244,236,221,.35); }
.langs a:hover { background: rgba(244,236,221,.12); text-decoration: none; }
.langs a[aria-current] { background: var(--saffron); color: var(--navy); }
.langs a[lang="th"] { font-family: "Sarabun", Tahoma, sans-serif; }

.status { display: inline-flex; align-items: center; gap: .5em; }
.status:empty { display: none; }
/* nudged down to the visual middle of the words (mostly lowercase and numbers), measured on real renders */
.status::before { content: ""; width: .6em; height: .6em; flex: 0 0 auto; border-radius: 50%; background: var(--saffron); transform: translateY(.08em); }
.status[data-state="open"]::before { background: #6FE0A6; box-shadow: 0 0 0 3px rgba(111,224,166,.25); }
.status[data-state="closed"]::before { background: #F6C9C0; }

.head { background: var(--deep); color: var(--ivory); position: relative; z-index: 50; view-transition-name: site-head; }
.head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ivory); text-decoration: none; }
.brand svg { width: 46px; height: 46px; flex: 0 0 46px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--f-mark); font-size: 1.22rem; letter-spacing: .09em; }
.brand-sub { font-family: var(--f-head); color: var(--saffron-lt); font-size: .98rem; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; color: #F6E6DA; text-decoration: none; padding: 10px 14px;
  font-size: 1.05rem; border-radius: 4px; white-space: nowrap;
}
.nav a:hover { color: #fff; background: var(--deep-2); }
.nav a[aria-current="page"] { color: var(--saffron-lt); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 7px; height: 7px;
  background: var(--saffron); transform: translateX(-50%) rotate(45deg);
}
.menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 50px; padding: 0 16px;
  background: transparent; color: var(--ivory); border: 2px solid rgba(244,236,221,.4); border-radius: 6px;
  font: 600 1.05rem var(--f-body); cursor: pointer;
}

/* --------------------------------------------------------------- page head */
.pagehead { --bg: var(--deep); --fg: var(--ivory); --fg-2: #EFD8CA; --accent: var(--saffron-lt); background-color: var(--deep); color: var(--ivory); padding-block: 22px clamp(40px, 6vw, 64px); }
.crumbs { font-size: .95rem; color: #EFD8CA; margin-bottom: 18px; }
.crumbs a { color: #F6E6DA; }
.pagehead p { color: #EFD8CA; font-size: 1.2rem; max-width: 62ch; }

/* ------------------------------------------------------------------- hero */
.hero { --bg: var(--deep); --fg: var(--ivory); --fg-2: #EFD8CA; --accent: var(--saffron-lt); background-color: var(--deep); color: var(--ivory); padding-block: clamp(20px, 3vw, 40px) clamp(32px, 4vw, 52px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { color: var(--saffron-lt); font-family: var(--f-head); font-size: 1.1rem; line-height: 1.4; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
/* star centred on the letters (between capital and lowercase height), measured on a real render */
.eyebrow svg { width: 22px; height: 22px; flex: 0 0 auto; display: block; }
.hero h1 { margin-bottom: .35em; line-height: 1.18; }
.hero-lede { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.32rem); color: #F3DED1; max-width: 46ch; }
.hero-lede + .btns { margin-top: 24px; }
.hero .status { font-size: 1.1rem; margin: 14px 0 12px; color: var(--ivory); }
.hero-addr { margin-top: 12px; color: #EFD8CA; font-size: 1rem; }
/* three equal facts: a bold value with a small label underneath, split by thin gold lines */
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 440px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(212,164,58,.28); font-size: .9rem; line-height: 1.3; color: #EFD8CA; }
.hero-proof span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding-inline: 6px; }
.hero-proof span + span { border-inline-start: 1px solid rgba(212,164,58,.28); }
.hero-proof b { color: var(--saffron-lt); font-family: var(--f-head); font-size: 1.2rem; line-height: 1.2; white-space: nowrap; }

/* The photo framed with the same guard stripe that runs under the header:
   two gold lines with navy diamonds and gold dots. Red on light sections. */
.frame { margin: 0; }
.guard-frame {
  border: 10px solid var(--deep);
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Crect width='44' height='44' fill='%23861620'/%3E%3Cg fill='none' stroke='%23D4A43A' stroke-width='.9'%3E%3Cpath d='M.75 .75H43.25V43.25H.75Z'/%3E%3Cpath d='M9.25 9.25H34.75V34.75H9.25Z'/%3E%3C/g%3E%3Cpath d='M22 2L25 5 22 8 19 5Z' fill='%231C2541' stroke='%23D4A43A' stroke-width='.9'/%3E%3Cpath d='M22 36L25 39 22 42 19 39Z' fill='%231C2541' stroke='%23D4A43A' stroke-width='.9'/%3E%3Cpath d='M5 19L8 22 5 25 2 22Z' fill='%231C2541' stroke='%23D4A43A' stroke-width='.9'/%3E%3Cpath d='M39 19L42 22 39 25 36 22Z' fill='%231C2541' stroke='%23D4A43A' stroke-width='.9'/%3E%3Ccircle cx='10' cy='5' r='1.1' fill='%23D4A43A'/%3E%3Ccircle cx='34' cy='5' r='1.1' fill='%23D4A43A'/%3E%3Ccircle cx='10' cy='39' r='1.1' fill='%23D4A43A'/%3E%3Ccircle cx='34' cy='39' r='1.1' fill='%23D4A43A'/%3E%3Ccircle cx='5' cy='10' r='1.1' fill='%23D4A43A'/%3E%3Ccircle cx='5' cy='34' r='1.1' fill='%23D4A43A'/%3E%3Ccircle cx='39' cy='10' r='1.1' fill='%23D4A43A'/%3E%3Ccircle cx='39' cy='34' r='1.1' fill='%23D4A43A'/%3E%3C/svg%3E") 10 round;
  box-shadow: 0 18px 36px rgba(20,4,6,.35);
}
.guard-frame img { display: block; width: 100%; height: auto; }
.frame figcaption { color: var(--fg-2); font-size: .95rem; padding-top: 14px; text-align: center; text-wrap: balance; }
.sec--ivory .guard-frame, .sec--paper .guard-frame { border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Crect width='44' height='44' fill='%23F4ECDD'/%3E%3Cg fill='none' stroke='%23A3202A' stroke-width='.9'%3E%3Cpath d='M.75 .75H43.25V43.25H.75Z'/%3E%3Cpath d='M9.25 9.25H34.75V34.75H9.25Z'/%3E%3C/g%3E%3Cpath d='M22 2L25 5 22 8 19 5Z' fill='%231C2541' stroke='%23A3202A' stroke-width='.9'/%3E%3Cpath d='M22 36L25 39 22 42 19 39Z' fill='%231C2541' stroke='%23A3202A' stroke-width='.9'/%3E%3Cpath d='M5 19L8 22 5 25 2 22Z' fill='%231C2541' stroke='%23A3202A' stroke-width='.9'/%3E%3Cpath d='M39 19L42 22 39 25 36 22Z' fill='%231C2541' stroke='%23A3202A' stroke-width='.9'/%3E%3Ccircle cx='10' cy='5' r='1.1' fill='%23A3202A'/%3E%3Ccircle cx='34' cy='5' r='1.1' fill='%23A3202A'/%3E%3Ccircle cx='10' cy='39' r='1.1' fill='%23A3202A'/%3E%3Ccircle cx='34' cy='39' r='1.1' fill='%23A3202A'/%3E%3Ccircle cx='5' cy='10' r='1.1' fill='%23A3202A'/%3E%3Ccircle cx='5' cy='34' r='1.1' fill='%23A3202A'/%3E%3Ccircle cx='39' cy='10' r='1.1' fill='%23A3202A'/%3E%3Ccircle cx='39' cy='34' r='1.1' fill='%23A3202A'/%3E%3C/svg%3E"); box-shadow: 0 14px 30px rgba(30,26,23,.18); }
.hero-photo { align-self: start; }
.eyebrow--photo { justify-content: center; margin-bottom: 12px; }

.arch { -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat;
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V34C0 16 24 5 50 0c26 5 50 16 50 34v66z'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------ justified gallery */
.jg { --row: 170px; display: flex; flex-wrap: wrap; gap: 10px; }
.jg::after { content: ""; flex-grow: 10; }
.jg-item {
  flex-grow: var(--ar); flex-basis: calc(var(--ar) * var(--row));
  position: relative; display: block; overflow: hidden; background: var(--ivory-2);
}
.jg-item img { width: 100%; aspect-ratio: var(--ar); object-fit: cover; transition: transform .35s ease; }
.jg-item::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(244,236,221,0); transition: border-color .2s; pointer-events: none; }
.jg-item:hover img { transform: scale(1.025); }
.jg-item[hidden] { display: none; }
.jg-item:hover::after, .jg-item:focus-visible::after { border-color: rgba(244,236,221,.8); }
.more { display: flex; justify-content: center; margin-top: 24px; }

/* ------------------------------------------------------------- why cheaper */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.reason { border-top: 3px solid var(--madder); padding-top: 14px; }
.reason h3 { text-transform: uppercase; letter-spacing: .05em; font-size: 1.12rem; margin-bottom: .35em; }
.reason p { color: var(--fg-2); }

/* ------------------------------------------------------------------ sizes */
.sizes { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.size-chart svg { width: 100%; height: auto; display: block; }
.size-chart svg text { font-family: var(--f-body); font-weight: 600; }
.sizelist { list-style: none; margin: 0; padding: 0; }
.sizelist li { display: grid; grid-template-columns: 8.5em 1fr; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--rule); align-items: baseline; line-height: 1.5; }
.sizelist li:last-child { border-bottom: 0; }
.sizelist b { font-family: var(--f-head); color: var(--saffron-lt); font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sizelist span { color: var(--fg-2); }
.note { color: var(--fg-2); font-size: 1rem; margin-top: 18px; }

/* ------------------------------------------------------------------- visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.facts { list-style: none; margin: 0 0 26px; padding: 0; }
.facts li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts li:last-child { border-bottom: 0; }
.facts li > div { line-height: 1.5; min-width: 0; }
.facts b { display: block; font-size: .95rem; color: var(--fg-2); font-weight: 600; margin-bottom: 2px; }
.facts a, .facts span { color: var(--fg); font-size: 1.15rem; text-decoration: none; }
/* Coloured icon badges, centred on their label and value */
.facts .fi {
  flex: 0 0 46px; width: 46px; height: 46px; padding: 11px; border-radius: 12px;
  fill: #fff; background: var(--navy); box-shadow: 0 3px 8px rgba(30,26,23,.14);
}
.facts .fi-pin   { background: var(--madder); }
.facts .fi-clock { background: var(--saffron); fill: var(--navy); }
.facts .fi-phone { background: var(--navy); }
.facts .fi-mail  { background: #2F7A76; }
.facts .fi-car   { background: #2A5DB0; }
.facts .fi-star  { background: #C98A1B; }
.facts .fi-logo  { padding: 0; background: none; }
.facts a:hover { text-decoration: underline; }
.map { border: 1px solid var(--rule); background: var(--ivory-2); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.lookfor { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; margin-top: 22px; }
.lookfor img { aspect-ratio: 3 / 3.6; object-fit: cover; width: 100%; }
.lookfor p { color: var(--fg-2); }

/* --------------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: 20px; padding-inline: 0 52px; position: relative;
  font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--rule);
  display: grid; place-items: center; font: 400 1.5rem/1 var(--f-body); color: var(--madder);
}
.faq details[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 22px; color: var(--fg-2); }

/* ------------------------------------------------------------------- prose */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.5em; margin-bottom: .35em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--madder); }
.callout { background: var(--paper); border-inline-start: 4px solid var(--saffron); padding: 20px 24px; margin: 1.8em 0; }
.callout h3 { margin-top: 0; }
.tablewrap { overflow-x: auto; border: 1px solid var(--ivory-3); background: var(--paper); margin: 1.4em 0; }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 1.02rem; }
th, td { padding: 12px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--ivory-2); }
thead th { background: var(--deep); color: var(--ivory); font-family: var(--f-head); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }

.two { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.todo { background: #FFF4D6; border: 2px dashed var(--saffron); padding: 14px 18px; color: var(--ink); font-size: 1rem; }

/* ------------------------------------------------------------------ footer */
.foot { background: var(--deep); color: #EFD8CA; view-transition-name: site-foot; }
.foot-cta { padding-block: clamp(44px, 6vw, 72px) 36px; border-bottom: 1px solid rgba(212,164,58,.25);
  display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: center; }
.foot-cta h2 { color: var(--ivory); margin-bottom: .3em; }
.foot-cta p { font-size: 1.15rem; max-width: 56ch; margin-bottom: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 36px; }
.foot h3 { color: var(--saffron-lt); font-size: 1rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a:not(.btn) { color: #F6E6DA; text-decoration: none; }
.btn-lang { font-weight: 400; font-size: .82em; padding: 1px 8px; border-radius: 4px; background: rgba(255,255,255,.16); }
/* Both phone lines as one stacked block: same width, numbers lined up, language on the right */
.calls { display: grid; grid-template-columns: minmax(0, 400px); gap: 8px; }
.btns .calls { flex: 1 1 100%; order: -1; }
.calls .btn { justify-content: flex-start; font-variant-numeric: tabular-nums; }
.calls .btn-lang { margin-inline-start: auto; }
/* the number and its language tag always stay on one line each */
.calls .call-num, .btn-lang { white-space: nowrap; }
/* small phones: tighter call buttons so the number and tag fit side by side */
@media (max-width: 380px) {
  .calls .btn { font-size: 1rem; padding-inline: 12px; gap: .45em; }
  .calls .btn-lang { padding: 1px 6px; }
}
/* A button row with the phone block: calls on top, the other buttons as equal halves below */
.btns:has(.calls) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 440px; }
.btns:has(.calls) .calls { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); }
.btns:has(.calls) > .btn { padding-inline: 12px; }
.btns:has(.calls) > .btn:only-of-type { grid-column: 1 / -1; }
.email { overflow-wrap: anywhere; }

/* Phones: which line to call, opened from "Call" in the bottom bar */
.phone-sheet {
  position: fixed; left: 8px; right: 8px; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 95;
  display: grid; gap: 10px; padding: 16px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--saffron); border-radius: 10px; box-shadow: 0 -8px 30px rgba(0,0,0,.35);
}
.phone-sheet[hidden] { display: none; }
.phone-sheet-h { margin: 0 0 2px; font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; text-align: center; }
.phone-sheet .btn { width: 100%; min-height: 58px; font-size: 1.15rem; }
.phone-sheet .calls { grid-template-columns: minmax(0, 1fr); }
.phone-sheet-close { --fg: var(--ink); --bg: var(--paper); }
.foot a:not(.btn):hover { color: var(--saffron-lt); text-decoration: underline; }
/* Social links: the app logo and its name on a quiet outlined button that matches the footer */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.foot .social .soc {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; min-width: 150px; padding: 8px 18px 8px 9px;
  background: rgba(58,8,13,.35); color: var(--ivory); border: 1px solid rgba(244,236,221,.22); border-radius: 8px;
  font-weight: 600; line-height: 1; text-decoration: none; transition: background-color .15s, border-color .15s;
}
.foot .social .soc:hover { color: #fff; text-decoration: none; background: rgba(58,8,13,.6); border-color: var(--saffron); }
.soc svg { width: 32px; height: 32px; flex: 0 0 32px; display: block; border-radius: 8px; }
.foot-bottom { border-top: 1px solid rgba(212,164,58,.25); padding-block: 18px; font-size: .95rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* The fringe: the rug's woven end, knotted tassels, threads hanging onto the floor.
   Drawn as a repeating SVG pattern (see the fringe macro). */
.fringe { background: var(--floor); line-height: 0; }
.fringe svg { display: block; width: 100%; height: 46px; }

/* ------------------------------------------------------- mobile action bar */
.tabbar { display: none; }

/* ----------------------------------------------------------------- lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(34,5,9,.97); color: var(--ivory); }
.lb::backdrop { background: rgba(34,5,9,.9); }
.lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; z-index: 2; }
.lb-count { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.lb-close { width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 2px solid rgba(244,236,221,.5); background: rgba(58,8,13,.85); color: var(--ivory); display: grid; place-items: center; cursor: pointer; }
.lb-close:hover { background: var(--deep-3); }
.lb-close svg { width: 24px; height: 24px; fill: currentColor; }
.lb-stage { position: absolute; inset: 78px 0 92px; display: grid; place-items: center; padding: 0 76px; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 0; min-height: 92px; display: grid; place-items: center; text-align: center; padding: 10px 20px; color: #F3DED1; font-size: 1.02rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; border-radius: 50%; border: 2px solid rgba(244,236,221,.5); background: rgba(58,8,13,.85); color: var(--ivory); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.lb-nav:hover { background: var(--deep-3); }
.lb-prev { inset-inline-start: 12px; } .lb-next { inset-inline-end: 12px; }
.lb-nav svg { width: 28px; height: 28px; fill: currentColor; }

/* ------------------------------------------------------------ manage page */
.mg { background: var(--ivory); color: var(--ink); min-height: 100vh; font-size: 1.25rem; }
.mg-head { background: var(--deep); color: var(--ivory); padding-block: 26px; }
.mg-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.mg-head h1 { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.4rem); margin: 0; }
.mg-head a { color: var(--saffron-lt); }
.mg main { padding-block: 32px 80px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--ivory-3); padding: 16px; }
.steps li::before { content: counter(s); width: 52px; height: 52px; border-radius: 50%; background: var(--deep); color: var(--saffron-lt); display: grid; place-items: center; font: 600 1.5rem var(--f-head); }
.fake-btn { display: inline-block; padding: 2px 12px; border-radius: 6px; font: 600 1.05rem var(--f-body); white-space: nowrap; }
.fake-green { background: #1F883D; color: #fff; }
.fake-grey { background: #F6F8FA; color: #24292F; border: 1px solid #D0D7DE; }
.mg-sec { background: var(--paper); border: 1px solid var(--ivory-3); margin-top: 28px; }
.mg-sec-head { padding: 22px 22px 18px; border-bottom: 1px solid var(--ivory-2); }
.mg-sec-head h2 { font-size: 1.6rem; margin-bottom: .2em; }
.mg-sec-head p { margin: 0 0 .3em; color: var(--ink-2); }
.mg-add { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.mg-add .btn { min-height: 64px; font-size: 1.25rem; padding: 0 28px; }
.btn-add { background: #1F883D; color: #fff; }
.btn-add:hover { background: #1A7F37; color: #fff; }
.mg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; padding: 22px; }
.mg-card { background: #fff; border: 1px solid var(--ivory-3); display: flex; flex-direction: column; }
.mg-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mg-card .meta { padding: 8px 10px 0; font-size: .95rem; color: var(--ink-2); }
.mg-card .first { display: inline-block; background: var(--deep); color: var(--saffron-lt); font-size: .9rem; padding: 0 8px; border-radius: 3px; }
.mg-del { margin: 10px; min-height: 50px; font-size: 1.05rem; color: var(--madder); border-color: var(--madder); }
.mg-del:hover { background: var(--madder); color: #fff; border-color: var(--madder); }
.mg-empty { padding: 26px 22px; color: var(--ink-2); }
.mg-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mg-langs a { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; border: 2px solid rgba(244,236,221,.45); border-radius: 6px; color: var(--ivory); text-decoration: none; font-size: 1.1rem; }
.mg-langs a[aria-current="page"] { background: var(--saffron); color: var(--navy); border-color: var(--saffron); font-weight: 600; }
.mg-back { display: inline-block; margin-top: 10px; color: var(--saffron-lt); }
.mg-body { padding: 20px 22px 24px; }
.mg-body ul { margin: 0; padding-inline-start: 1.2em; }
.mg-body li { margin-bottom: .5em; }
.mg-sub { font-size: 1.5rem; margin-top: 30px; }
.mg-help { margin-top: 14px; }
.mg-help .btn { margin-top: 10px; }
.nowrap { white-space: nowrap; }
/* Farsi: Persian font, Persian step numbers */
[dir="rtl"] .mg, [dir="rtl"] .mg h1, [dir="rtl"] .mg h2, [dir="rtl"] .mg h3, [dir="rtl"] .mg .btn {
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
}
[dir="rtl"] .mg { line-height: 1.9; }
[dir="rtl"] .steps li::before { content: counter(s, persian); font-family: "Vazirmatn", Tahoma, sans-serif; }
.warn { background: #FDECEA; border: 2px solid var(--madder); padding: 16px 20px; margin-top: 22px; }
.warn h2 { font-size: 1.4rem; color: var(--madder-dk); }

/* ------------------------------------------------------------- small button */
.btn-sm { min-height: 46px; padding: 0 16px; font-size: 1rem; gap: .45em; }
.btn-sm .i { width: 1.15em; height: 1.15em; }

/* --------------------------------------------------------------- LINE card */
/* A QR code for people browsing on a computer, and a normal button on phones. */
.linecard {
  display: inline-grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ivory-3);
  border-radius: 8px; padding: 12px 18px 12px 12px; max-width: 420px;
}
.linecard-qr { width: 104px; line-height: 0; }
.linecard-qr svg { width: 100%; height: auto; display: block; border-radius: 4px; }
.linecard-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.linecard-txt b { font-size: 1.02rem; line-height: 1.35; }
.linecard-txt span { font-size: .92rem; color: var(--ink-2); }
.linecard-txt .btn { margin-top: 6px; }
.linecard--compact { background: rgba(251,247,239,.96); }
.linecard-logo, .lc-tap { display: none; }
.linecard-txt b span { color: inherit; font-size: inherit; }
.sizes-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 16px; }
.sizes .note { margin-top: 12px; }
.textlink { color: var(--accent); font-weight: 600; }

/* ------------------------------------------------------ home 3 x 3 photos */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat-item { position: relative; display: block; overflow: hidden; background: var(--ivory-2); aspect-ratio: 4 / 3; }
.feat-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.feat-item::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(244,236,221,0); transition: border-color .2s; pointer-events: none; }
.feat-item:hover img { transform: scale(1.03); }
.feat-item:hover::after, .feat-item:focus-visible::after { border-color: rgba(244,236,221,.85); }
.swipe-hint { display: none; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero-grid, .sizes, .visit, .two { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 560px; }
  /* the hero already shows the shopfront, so the visit section does not repeat it */
  .visit-photo { display: none; }
  .reasons { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .head { position: sticky; top: 0; }
  .jg { --row: 250px; }
}

/* Small laptops and landscape tablets: keep the shop name on one line beside the menu */
@media (min-width: 900px) and (max-width: 1140px) {
  .head .wrap { gap: 12px; }
  .brand { gap: 10px; }
  .brand svg { width: 40px; height: 40px; flex-basis: 40px; }
  .brand-name { font-size: 1.02rem; white-space: nowrap; letter-spacing: .06em; }
  .brand-sub { white-space: nowrap; }
  .brand-sub .hide-xs { display: none; }
  .nav a { padding: 10px 8px; font-size: .98rem; }
}

@media (max-width: 899px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--deep-2); border-top: 1px solid rgba(212,164,58,.3);
    padding: 8px var(--pad) 16px; box-shadow: 0 18px 30px rgba(0,0,0,.35);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.25rem; padding: 16px 10px; border-bottom: 1px solid rgba(244,236,221,.1); }
  .nav a[aria-current="page"]::after { left: auto; inset-inline-end: 14px; bottom: 50%; transform: translateY(50%) rotate(45deg); }
  .topline .hide-sm { display: none; }
  /* phones: two rows. Left: the two numbers stacked. Right: language switch on row 1,
     opening status on row 2, lined up with the numbers. */
  .topline .wrap {
    display: grid; grid-template-columns: auto 1fr; align-items: center;
    column-gap: 10px; row-gap: 0; padding-block: 4px; min-height: 0;
  }
  .topline-phones { display: contents; font-size: .95rem; font-weight: 600; }
  .topline-phones a { gap: 6px; min-height: 30px; font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
  .topline-phones a:nth-child(1) { grid-column: 1; grid-row: 1; }
  .topline-phones a:nth-child(2) { grid-column: 1; grid-row: 2; }
  .topline-r { grid-column: 2; grid-row: 1; justify-self: end; }
  .topline-l { grid-column: 2; grid-row: 2; justify-self: end; }
  .topline .status { font-size: .8rem; white-space: nowrap; }
  .topline .langs { font-size: .88rem; }
  .topline .langs a { padding: 1px 8px; }
  .brand-name { font-size: 1.02rem; }
  .brand svg { width: 40px; height: 40px; flex-basis: 40px; }

  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: var(--floor); border-top: 1px solid rgba(212,164,58,.35);
    view-transition-name: tabbar;
  }
  .tabbar .btn { min-height: 58px; padding: 0 6px; font-size: 1.1rem; gap: 6px; }
  .lb-stage { padding: 0 8px; inset: 78px 0 150px; }
  .lb-nav { top: auto; bottom: 86px; transform: none; }
  .lb-cap { min-height: 80px; }
}

@media (max-width: 700px) {
  /* landscape crop of the shopfront: keeps the sign and door, trims the pavement */
  .guard-frame { border-width: 9px; }
  .hero .frame figcaption { font-size: .88rem; padding-top: 10px; }
  .hero-photo .frame img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 22%; }
  .linecard-qr, .lc-scan { display: none; }
  .lc-tap { display: inline; }
  /* phones: LINE logo beside the name and ID, a full-width button underneath */
  .linecard { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 0; width: 100%; max-width: 420px; padding: 14px 16px; }
  .linecard-logo { display: block; width: 48px; height: 48px; }
  .linecard-logo svg { width: 100%; height: 100%; display: block; }
  .linecard-txt { display: contents; }
  .linecard-txt b { grid-column: 2; grid-row: 1; align-self: end; }
  .linecard-txt > span { grid-column: 2; grid-row: 2; align-self: start; }
  .linecard-logo { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .linecard-txt .btn { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; width: 100%; }
  .foot-cta { grid-template-columns: 1fr; }
  .foot-cta .linecard { display: none; }
}

@media (max-width: 560px) {
  .sec { padding-block: 36px; }
  /* one row of photos to swipe through, with the next photo peeking in */
  .feat {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
  }
  .feat::-webkit-scrollbar { display: none; }
  .feat-item { flex: 0 0 80%; scroll-snap-align: start; }
  .swipe-hint { display: block; margin: 10px 0 0; text-align: end; font-size: .95rem; color: var(--fg-2); }
  .more { margin-top: 20px; }
  .jg { --row: 118px; gap: 8px; }
  .hide-xs { display: none; }
  .brand { gap: 9px; }
  .brand svg { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-name { font-size: .9rem; letter-spacing: .03em; }
  .menu-btn { padding: 0 12px; }
  .head .wrap { min-height: 72px; }
  /* compact footer: less space between blocks, page links flow side by side */
  .foot-cta { padding-block: 32px 24px; }
  .foot-cta p { font-size: 1rem; margin-bottom: 16px; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; padding-block: 22px 18px; }
  .foot-grid p { margin-bottom: 0; font-size: 1rem; }
  .foot h3 { font-size: 1rem; margin-bottom: 4px; }
  .foot li { margin-bottom: 0; line-height: 1.65; }
  .foot-pages { display: flex; flex-wrap: wrap; column-gap: 20px; }
  .foot .social { margin-top: 10px; gap: 8px; }
  .foot .social .soc { flex: 1 1 0; min-width: 0; min-height: 46px; padding-block: 6px; }
  .foot-bottom { padding-block: 12px; font-size: .9rem; align-items: center; }
  .btns .btn { flex: 1 1 100%; }
  .calls { grid-template-columns: minmax(0, 1fr); }
  .btns:has(.calls) > .btn { font-size: 1rem; padding-inline: 8px; gap: 6px; white-space: nowrap; }
  .sizelist li { grid-template-columns: 1fr; gap: 0; }
  .lookfor { grid-template-columns: 110px 1fr; }
  .hero-proof { max-width: none; font-size: .85rem; }
  .hero-proof b { font-size: 1.1rem; }
  .eyebrow { font-size: .98rem; gap: 8px; }
  .eyebrow svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .topline, .tabbar, .menu-btn, .foot-cta, .fringe, .band, .map { display: none !important; }
  body { background: #fff; }
}
