/* ==========================================================
   ShipChandler Myanmar — "Natural" landing page
   Mood: warm paper, sea & tea-leaf tones, handwritten notes,
   soft rounded photos — like a care parcel from home.
   ========================================================== */
:root {
  /* paper & ink */
  --cream: #f5efe3;
  --paper: #fbf8f1;
  --card: #fffdf8;
  --ink: #2b2723;
  --ink-2: #6a6157;
  --line: #e7dccb;

  /* brand (softened from the logo) */
  --sea: #2b7089;
  --sea-deep: #1e4c5b;
  --sea-soft: #e2eef0;
  --sun: #df8a3e;
  --sun-deep: #c06f27;
  --sun-soft: #fbe9d6;
  --leaf: #6b8c4f;
  --leaf-soft: #e8efdc;

  --r-lg: 28px;
  --r: 18px;
  --shadow: 0 18px 40px -28px rgba(43, 39, 35, .45);
  --max: 1160px;

  --f-head: "Fraunces", "Shippori Mincho", Georgia, serif;
  --f-body: "Nunito Sans", "Zen Maru Gothic", system-ui, sans-serif;
  --f-hand: "Caveat", "Zen Maru Gothic", cursive;
}
html[lang="my"] { --f-head: "Padauk", "Noto Sans Myanmar", sans-serif; --f-body: "Padauk", "Noto Sans Myanmar", sans-serif; --f-hand: "Padauk", sans-serif; }
html[lang="ja"] { --f-head: "Shippori Mincho", serif; --f-body: "Zen Maru Gothic", sans-serif; --f-hand: "Zen Maru Gothic", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.75;
  background-color: var(--cream);
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}
html[lang="my"] body { line-height: 2.05; font-size: 16.5px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
b, strong { font-weight: 700; color: var(--sea-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--f-head); color: var(--sea-deep); margin: 0 0 .55em; line-height: 1.18; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-variation-settings: "SOFT" 100, "opsz" 144; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-variation-settings: "SOFT" 100, "opsz" 100; }
h3 { font-size: 1.25rem; }
html[lang="my"] h1, html[lang="my"] h2, html[lang="my"] h3 { line-height: 1.65; letter-spacing: 0; font-weight: 700; }
html[lang="my"] h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
html[lang="ja"] h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: .02em; }

/* handwritten touches */
.hand { font-family: var(--f-hand); color: var(--sun-deep); font-size: 1.55rem; line-height: 1.2; }
html[lang="my"] .hand, html[lang="ja"] .hand { font-size: 1.05rem; font-weight: 700; }

/* brush underline for the key word in headings */
.hl {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-6 90-8 196-3' fill='none' stroke='%23df8a3e' stroke-width='5' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") left 92% / 100% .32em no-repeat;
  padding-bottom: .06em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf);
}
.eyebrow svg { width: 18px; height: 18px; }
html[lang="my"] .eyebrow, html[lang="ja"] .eyebrow { letter-spacing: .06em; font-size: .86rem; }
.lead { font-size: 1.12rem; color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 239, 227, .9); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(0,0,0,.4); }
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 42px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; font-family: "Nunito Sans", sans-serif; font-weight: 800; }
.brand-name .b1 { color: var(--sea); font-size: 1.08rem; }
.brand-name .b2 { color: var(--sun); font-size: .8rem; letter-spacing: .06em; }

.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .94rem;
  padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(43, 112, 137, .08); color: var(--sea); }
.nav-links a.current { color: var(--sea); background: rgba(43, 112, 137, .1); }

.lang { display: flex; gap: 2px; padding: 3px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.lang button {
  font-family: "Nunito Sans", "Padauk", "Noto Sans Myanmar", "Zen Maru Gothic", sans-serif;
  border: 0; background: none; cursor: pointer; color: var(--ink-2); font-weight: 800; font-size: .78rem;
  padding: 5px 10px; border-radius: 999px; min-height: 30px;
}
.lang button.active { background: var(--sea); color: #fff; }

.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 800; font-size: .98rem; line-height: 1.2;
  background: var(--sea); color: #fff; transition: transform .15s, background .2s, box-shadow .2s;
  box-shadow: 0 10px 22px -14px rgba(30, 76, 91, .9);
}
.btn:hover { background: var(--sea-deep); transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn-sun { background: var(--sun); box-shadow: 0 10px 22px -14px rgba(192, 111, 39, .9); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-line { background: transparent; color: var(--sea-deep); box-shadow: inset 0 0 0 1.5px var(--sea); }
.btn-line:hover { background: var(--sea); color: #fff; }
.btn-messenger { background: #0a7cff; box-shadow: 0 10px 22px -14px rgba(10, 124, 255, .9); }
.btn-messenger:hover { background: #0066d6; }

/* ---------- Photos ---------- */
.photo { border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(.98); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 76px; }
.section { padding: 104px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-2); }
.tint-paper { background-color: var(--paper); }
.tint-sea { background-color: var(--sea-soft); }

/* wave dividers (echo the waves in the logo) */
.wave { display: block; width: 100%; height: 48px; }
.wave path { fill: currentColor; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 0; text-align: center; }
.hero .eyebrow { color: var(--sun-deep); }
.hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 720px; margin: 0 auto; }
.hero .lead b { color: var(--sea-deep); }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; stroke: var(--leaf); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; margin-top: 52px; }
.hero-visual .photo.main { aspect-ratio: 21 / 9; box-shadow: var(--shadow); }
.hero-visual .photo.main img { object-position: 30% 50%; }
.polaroid {
  position: absolute; right: 4%; bottom: -46px; width: min(270px, 30%);
  background: #fff; padding: 10px 10px 8px; border-radius: 6px; transform: rotate(3.5deg);
  box-shadow: 0 20px 40px -22px rgba(0,0,0,.55);
}
.polaroid img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { text-align: center; padding-top: 6px; font-size: 1.25rem; }
html[lang="my"] .polaroid figcaption, html[lang="ja"] .polaroid figcaption { font-size: .85rem; padding: 8px 2px 2px; }
.stamp {
  position: absolute; left: 3%; top: -26px; width: 104px; height: 104px; border-radius: 50%;
  background: var(--sun-soft); color: var(--sun-deep); display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--sun); transform: rotate(-10deg); font-weight: 800; font-size: .78rem; line-height: 1.2;
  box-shadow: 0 10px 24px -16px rgba(0,0,0,.5);
}
.stamp strong { display: block; font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--sun-deep); }

/* ---------- Promise / intro ---------- */
.promise { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.promise h2 { margin-bottom: 14px; }
.promise p { color: var(--ink-2); font-size: 1.06rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.ico {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--leaf-soft); color: var(--leaf);
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.sea { background: var(--sea-soft); color: var(--sea); }
.ico.sun { background: var(--sun-soft); color: var(--sun-deep); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 16%; right: 16%; border-top: 2px dashed #d5c7b0; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.step .ico { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step .ico svg { width: 34px; height: 34px; }
.step .num { font-family: var(--f-hand); color: var(--sun-deep); font-size: 1.5rem; line-height: 1; display: block; margin-bottom: 6px; }
html[lang="my"] .step .num, html[lang="ja"] .step .num { font-family: "Caveat", cursive; }
.step p { color: var(--ink-2); font-size: .96rem; margin: 0; }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-bottom: 88px; }
.service:nth-of-type(even) .photo { order: 2; }
.service .photo { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.service p { color: var(--ink-2); }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; background: var(--sea-soft); color: var(--sea); margin-bottom: 12px;
}
.tag.sun { background: var(--sun-soft); color: var(--sun-deep); }
html[lang="my"] .tag, html[lang="ja"] .tag { letter-spacing: .03em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b8c4f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
html[lang="my"] .ticks li::before { top: .7em; }

/* product categories */
.cats-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.cats-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-visual { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.cat-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-visual img.missing { display: none; }
.cat-visual svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cat-visual .n { position: absolute; top: 12px; left: 14px; font-family: "Caveat", cursive; font-size: 1.5rem; opacity: .8; }
.cat.c1 .cat-visual { background: #f3e3cf; color: #9a5b2a; }
.cat.c2 .cat-visual { background: var(--leaf-soft); color: var(--leaf); }
.cat.c3 .cat-visual { background: #f6dede; color: #b0504a; }
.cat.c4 .cat-visual { background: var(--sea-soft); color: var(--sea); }
.cat-body { padding: 18px 20px 22px; }
.cat-body h4 { font-family: var(--f-head); font-size: 1.15rem; color: var(--sea-deep); margin: 0 0 10px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--ink-2); border: 1px solid var(--line); }
.thai-note {
  margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--r); background: var(--leaf-soft); border: 1px dashed #b6c79f;
}
.thai-note p { margin: 0; flex: 1 1 320px; }
.thai-note img { width: 34px; border-radius: 4px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-visual { position: relative; padding-bottom: 70px; }
.about-visual .photo.a { aspect-ratio: 4 / 5; width: 82%; box-shadow: var(--shadow); }
.about-visual .photo.b {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1; border-radius: 50%;
  border: 8px solid var(--paper); box-shadow: var(--shadow);
}
.about p { color: var(--ink-2); }
.about .hand { margin: 8px 0 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 26px; padding: 22px 0 0; margin-top: 22px; border-top: 1px dashed #d5c7b0; }
.fact strong { display: block; font-family: "Fraunces", serif; font-size: 1.9rem; color: var(--sun-deep); line-height: 1.1; font-weight: 600; }
.fact span { font-size: .9rem; color: var(--ink-2); }

/* ---------- Ports: 2×2 directory grid on a world-map watermark ---------- */
.ports { position: relative; overflow: hidden; }
.ports::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../images/world-map.svg") 64% 40px / max(1500px, 118%) auto no-repeat;
  opacity: .32;
}
.ports > .container { position: relative; }
.ports-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: stretch; }
.hq {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.hq .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.hq-body { padding: 24px 26px 28px; }
.hq-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hq-top img { width: 40px; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.hq-top h3 { margin: 0; }
.label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-deep); }
.info { list-style: none; padding: 0; margin: 0; }
.info li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.info li:first-child { border-top: 0; }
.info svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; fill: none; stroke: var(--sea); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.port-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.port {
  position: relative; background: rgba(255, 253, 248, .92); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.port::after { /* postage-stamp perforation, a nod to parcels */
  content: ""; position: absolute; inset: 6px; border: 1.5px dashed #e3d6c1; border-radius: 12px; pointer-events: none;
}
.port:hover { transform: translateY(-3px); border-color: #cfdde0; box-shadow: var(--shadow); }
.port-top { display: flex; align-items: center; gap: 12px; }
.port-top img { width: 44px; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.port-top h3 { margin: 0; font-size: 1.2rem; }
.port .where { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .98rem; }
.port .where svg { width: 16px; height: 16px; fill: none; stroke: var(--sun-deep); stroke-width: 2.2; }
.port .svc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.port .svc span { font-size: .76rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--sea-soft); color: var(--sea); }
.port .svc span + span { background: var(--sun-soft); color: var(--sun-deep); }

.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.also .label { color: var(--ink-2); margin-right: 4px; }
.also .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem; }
.also .pill img { width: 20px; border-radius: 3px; }
.also .ask { color: var(--ink-2); font-size: .92rem; }

/* ---------- Request supply ---------- */
.request { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.request .lead { margin-bottom: 26px; }
.msg-card {
  display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 24px;
}
.msg-card .m-ico { width: 54px; height: 54px; border-radius: 16px; background: #0a7cff; display: grid; place-items: center; flex-shrink: 0; }
.msg-card .m-ico svg { width: 28px; height: 28px; fill: #fff; }
.msg-card h3 { font-size: 1.1rem; margin: 0 0 2px; }
.msg-card p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.msg-card .btn { margin-left: auto; min-height: 44px; padding: 10px 18px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px dashed #d5c7b0; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 12px; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--ink-2); font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); }
.form h3 { margin-bottom: 4px; }
.form .sub { color: var(--ink-2); font-size: .93rem; margin: 0 0 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: #c0533a; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sea); background: #fff; box-shadow: 0 0 0 4px rgba(43,112,137,.12); }
.field input:user-invalid { border-color: #d0876f; }
.field textarea { min-height: 150px; resize: vertical; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .84rem; color: var(--ink-2); margin: 12px 0 0; text-align: center; }
.status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 700; font-size: .95rem; }
.status.ok { display: block; background: var(--leaf-soft); color: #3e5a2a; }
.status.err { display: block; background: #f8e2da; color: #8a3522; }

/* ---------- Footer ---------- */
/* The footer itself is transparent so the section above (and the body's paper
   grain) shows through behind the top of the wave — no strip, no colour seam. */
.site-footer { color: #cfe0e2; background: transparent; position: relative; margin-top: 0; }
.footer-wave { color: var(--sea-deep); background: transparent; line-height: 0; font-size: 0; margin: 0; padding: 0; overflow: hidden; }
.footer-wave .wave { display: block; width: 100%; height: 48px; margin-bottom: -1px; overflow: visible; }
.footer-wave .wave-back { fill: var(--sea); opacity: .35; transform-origin: 50% 100%; animation: wave-bob 7s ease-in-out infinite; }
.footer-main { padding: 40px 0 26px; background: var(--sea-deep); position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer-logo { display: inline-flex; background: var(--paper); border-radius: 16px; padding: 8px 12px; margin-bottom: 14px; }
.footer-logo img { height: 46px; }
.site-footer .hand { color: #f3c08f; font-size: 1.6rem; margin: 0 0 6px; }
.site-footer h4 { color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: #9fbcc2; }

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

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .ports-layout { grid-template-columns: 1fr; }
  .hq { flex-direction: row; }
  .hq .photo { aspect-ratio: auto; width: 40%; }
  .hq-body { flex: 1; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(0,0,0,.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; border-radius: 12px; }
  .menu-btn { display: block; }
  .promise, .service, .about, .request { grid-template-columns: 1fr; gap: 36px; }
  .service:nth-of-type(even) .photo { order: 0; }
  .features { grid-template-columns: 1fr; margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .about-visual { max-width: 520px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .brand-name { display: none; }
  .hero { padding-top: 36px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-visual .photo.main { aspect-ratio: 4 / 3; }
  .hero-visual .photo.main img { object-position: 22% 50%; }
  .polaroid { width: 46%; right: 2%; bottom: -36px; }
  .stamp { width: 82px; height: 82px; font-size: .66rem; top: -20px; }
  .stamp strong { font-size: 1.25rem; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 40px; bottom: 40px; left: 44px; right: auto; border-top: 0; border-left: 2px dashed #d5c7b0; }
  .step { display: grid; grid-template-columns: 88px 1fr; gap: 18px; text-align: left; padding: 0; align-items: center; }
  .step .ico { margin: 0; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-body { padding: 14px; }
  .cat-visual svg { width: 40px; height: 40px; }
  .hq { flex-direction: column; }
  .hq .photo { width: 100%; aspect-ratio: 16 / 8; }
  .port-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px 20px; }
  .msg-card { flex-wrap: wrap; }
  .msg-card .btn { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }

  .action-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 241, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .action-bar .btn { flex: 1; min-height: 48px; padding: 10px 12px; font-size: .92rem; box-shadow: none; }
}
@media (max-width: 400px) {
  .lang button { padding: 5px 7px; }
  .cats { grid-template-columns: 1fr; }
}


/* ==========================================================
   Client structure: Home+About / Products & Services / Request Supply
   ========================================================== */
.hero h1 { margin-top: 8px; }

/* Text + photo pair */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split p { color: var(--ink-2); }
.split p.big { font-size: 1.18rem; line-height: 1.8; color: var(--ink); }
html[lang="my"] .split p.big { font-size: 1.08rem; line-height: 2.1; }
.split-visual { position: relative; padding-bottom: 64px; }
.split-visual .photo.a { aspect-ratio: 5 / 4; width: 84%; box-shadow: var(--shadow); }
.split-visual .photo.b {
  position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3;
  border: 8px solid var(--cream); box-shadow: var(--shadow);
}
.split.reverse .split-visual .photo.a { margin-left: auto; }
.split.reverse .split-visual .photo.b { right: auto; left: 0; }
.callout {
  margin-top: 26px; padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0;
  background: var(--sun-soft); border-left: 4px solid var(--sun); color: var(--ink) !important;
}
.callout a { font-weight: 800; color: var(--sun-deep); }

/* Ports: no service tags, compact cards */
.port { gap: 10px; }
.hq .info li:last-child { word-break: break-all; }

/* Inner page heading */
.page-head { padding: 64px 0 28px; text-align: center; }
.page-head h1 { margin-bottom: 12px; }
.page-head .lead { max-width: 640px; margin: 0 auto; }

/* Products */
.products { padding: 24px 0 100px; }
.pcat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; margin-bottom: 22px; box-shadow: 0 10px 30px -28px rgba(43,39,35,.6);
}
.pcat-head { display: flex; gap: 18px; align-items: center; }
.pcat-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; flex-shrink: 0; }
.pcat-ico svg, .pslot svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pcat-ico svg { width: 32px; height: 32px; }
.pcat-num { font-family: "Fraunces", serif; font-weight: 600; font-size: .9rem; color: var(--sun-deep); letter-spacing: .06em; }
.pcat h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0; }
.pcat-items { margin: 4px 0 0; color: var(--ink-2); }
.pslots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.pslot { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; }
.pslot svg { width: 40px; height: 40px; opacity: .45; }
.pslot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pslot img.missing { display: none; }
.pcat.c1 .pcat-ico, .pcat.c1 .pslot { background: #f3e3cf; color: #9a5b2a; }
.pcat.c2 .pcat-ico, .pcat.c2 .pslot { background: var(--leaf-soft); color: var(--leaf); }
.pcat.c3 .pcat-ico, .pcat.c3 .pslot { background: #f6e0dc; color: #b0504a; }
.pcat.c4 .pcat-ico { background: var(--sea-soft); color: var(--sea); }
.thai-note .btn { margin-left: auto; }
.thai-note a:not(.btn) { font-weight: 800; color: var(--leaf); }

/* Request Supply */
.request-page { padding: 16px 0 100px; }
.request { grid-template-columns: 1.25fr .85fr; }
.form-note { text-align: left; margin: 0 0 14px; }
.fb-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
}
.fb-head { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.fb-head img { width: 64px; height: 64px; object-fit: contain; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; padding: 8px; }
.fb-head strong { display: block; font-size: 1.05rem; }
.fb-head small { color: var(--ink-2); font-size: .85rem; }
.fb-embed { border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); min-height: 120px; }
.fb-embed iframe { display: block; width: 100%; max-width: 100%; }
.btn-fb { background: #1877f2; width: 100%; box-shadow: 0 10px 22px -14px rgba(24,119,242,.9); }
.btn-fb:hover { background: #0f62cc; }

/* Footer */
.footer-tag { font-family: var(--f-head); font-style: italic; color: #f3c08f; font-size: 1.15rem; margin: 0; }
html[lang="my"] .footer-tag, html[lang="ja"] .footer-tag { font-style: normal; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-visual { order: -1; }
  .split-visual { max-width: 560px; }
  .request { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .pcat { padding: 20px; }
  .pcat-ico { width: 52px; height: 52px; border-radius: 16px; }
  .pslots { gap: 8px; margin-top: 18px; }
  .pslot svg { width: 28px; height: 28px; }
  .thai-note .btn { margin-left: 0; width: 100%; }
  .page-head { padding: 44px 0 20px; }
}

/* fixes */
.polaroid { width: min(240px, 26%); bottom: -40px; }
.polaroid img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.port { align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 26px 18px; }
.port-top { flex-direction: column; gap: 10px; }
.port-top img { width: 64px; border-radius: 6px; }
.port .where { justify-content: center; }
.pslot { aspect-ratio: 4 / 3; }
@media (max-width: 680px) {
  .polaroid { width: 40%; bottom: -30px; }
  .port-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .port { padding: 20px 10px; }
  .port-top img { width: 52px; }
  .port-top h3 { font-size: 1.05rem; }
  .port .where { font-size: .88rem; }
}

/* About link: soft note, no side rule */
.callout {
  border-left: 0; border-radius: 16px; padding: 16px 20px;
  background: var(--sun-soft);
}


/* ==========================================================
   Home: "From home to sea" journey strip
   3 equal photos + a dashed route with stop badges
   ========================================================== */
.journey-text { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.journey { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.journey::before { /* the route */
  content: ""; position: absolute; left: 16.66%; right: 16.66%; bottom: 25px;
  border-top: 2px dashed #cdbca2;
}
.journey-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.journey-item .photo { width: 100%; aspect-ratio: 4 / 5; border-radius: 24px; box-shadow: var(--shadow); }
.journey-item .photo img { transition: transform .7s ease; }
.journey-item:hover .photo img { transform: scale(1.04); }
.journey-badge {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 8px 18px -12px rgba(43,39,35,.5);
}
.journey-badge svg { width: 24px; height: 24px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.journey-item:nth-child(1) .journey-badge { color: var(--sun-deep); stroke: currentColor; }
.journey-item:nth-child(2) .journey-badge { color: var(--sea); }
.journey-item:nth-child(3) .journey-badge { color: #c0533a; }
.journey-badge svg { stroke: currentColor; }

@media (max-width: 680px) {
  .journey-text { margin-bottom: 32px; text-align: left; }
  .journey-scroll {
    margin: 0 -20px; padding: 0 20px 6px; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .journey-scroll::-webkit-scrollbar { display: none; }
  .journey { grid-template-columns: repeat(3, 76vw); gap: 14px; width: max-content; }
  .journey-item { scroll-snap-align: center; gap: 16px; }
  .journey-item .photo { border-radius: 20px; }
  .journey-badge { width: 46px; height: 46px; }
  .journey::before { bottom: 22px; }
}


/* ==========================================================
   About Us — photo collage left, structured copy right
   ========================================================== */
.about2 { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; padding: 0 0 56px 0; }
.about-media::before { /* soft sea blob behind the photos */
  content: ""; position: absolute; left: -6%; top: 8%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,112,137,.12), rgba(43,112,137,0) 70%); z-index: 0;
}
.about-media::after { /* dashed "route" ring */
  content: ""; position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px dashed #d5c7b0; z-index: 0; animation: spin-slow 40s linear infinite;
}
.am-main { position: relative; z-index: 1; width: 80%; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.am-sub {
  position: absolute; z-index: 2; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3;
  border: 8px solid var(--cream); border-radius: 24px; box-shadow: 0 24px 44px -26px rgba(43,39,35,.7);
  animation: float-y 6s ease-in-out infinite;
}
.am-flags {
  position: absolute; z-index: 3; left: 52%; top: 22px; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 9px 12px; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: 0 12px 26px -18px rgba(43,39,35,.6);
}
.am-flags img { width: 26px; height: 18px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.about-media .photo img { transition: transform .8s ease; }
.about-media:hover .am-main img { transform: scale(1.04); }

.about-copy .label { display: inline-block; margin-bottom: 8px; }
.about-copy h2 { margin-bottom: 16px; }
.about-lead { font-size: 1.12rem; color: var(--ink) !important; line-height: 1.75; margin: 0 0 22px; }
html[lang="my"] .about-lead { font-size: 1.04rem; line-height: 2.05; }
.about-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.about-points li {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.about-points li:hover { transform: translateX(4px); border-color: #cfdde0; box-shadow: var(--shadow); }
.about-points p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.7; }
.ap-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sea-soft); color: var(--sea);
}
.ap-ico.sun { background: var(--sun-soft); color: var(--sun-deep); }
.ap-ico.leaf { background: #f6e0dc; color: #c0533a; }
.ap-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.about-copy .callout { margin-top: 18px; }

/* ==========================================================
   Request Supply — two columns of equal height
   ========================================================== */
.request { grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: stretch; }
.form { display: flex; flex-direction: column; padding: 22px 26px 26px; }
.form-head, .fb-head {
  display: flex; align-items: center; gap: 14px; min-height: 64px;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px dashed var(--line);
}
.fb-card { gap: 0; }
.fb-head { margin-bottom: 16px; }
.form-ico {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--sun-soft); color: var(--sun-deep); border: 1px solid #f1d4b4;
}
.form-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-head strong { display: block; font-size: 1.05rem; color: var(--ink); }
.form-head a { color: var(--ink-2); font-size: .85rem; text-decoration: none; word-break: break-all; }
.form-head a:hover { color: var(--sea); }
.form .field-grow { flex: 1; display: flex; flex-direction: column; }
.form .field-grow textarea { flex: 1; }
.form .btn { margin-top: auto; }
.fb-embed { position: relative; flex: 1; min-height: 420px; margin-bottom: 16px; }
.fb-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================
   Animations
   ========================================================== */
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes wave-bob { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(3px) scaleY(1.12); } }
@keyframes badge-pop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* page intro: staggered entrance */
.hero h1, .hero .lead, .hero-cta, .page-head h1, .page-head .lead { animation: fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead, .page-head .lead { animation-delay: .12s; }
.hero-cta { animation-delay: .24s; }
.hero-visual .photo.main img { animation: hero-zoom 1.8s cubic-bezier(.2,.7,.2,1) both; }

/* scroll reveal variants + stagger (delay set by JS via --d) */
.js .reveal { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.from-left { transform: translateX(-36px); }
.js .reveal.from-right { transform: translateX(36px); }
.js .reveal.zoom { transform: scale(.94); }
.js .reveal.in { transform: none; }

/* journey badges bob gently, one after another */
.journey-badge { animation: badge-pop 3.2s ease-in-out infinite; }
.journey-item:nth-child(2) .journey-badge { animation-delay: .4s; }
.journey-item:nth-child(3) .journey-badge { animation-delay: .8s; }

/* lifts */
.pcat { transition: transform .3s ease, box-shadow .3s ease; }
.pcat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pslot img { transition: transform .6s ease; }
.pslot:hover img { transform: scale(1.06); }
.hq { transition: transform .3s ease; }
.hq:hover { transform: translateY(-4px); }
.hq .photo img { transition: transform .8s ease; }
.hq:hover .photo img { transform: scale(1.05); }
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-fb:hover svg { transform: none; }

/* hamburger → X */
.menu-btn span { transition: transform .3s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  /* collapse the nav earlier so long labels (မြန်မာ / 日本語) never overflow */
  .menu-btn { display: block; }
  .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); padding: 10px 16px 18px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(0,0,0,.4);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-links a { padding: 14px 12px; border-radius: 12px; }
  .about2 { gap: 56px; }
}
@media (max-width: 900px) {
  .about2 { grid-template-columns: 1fr; gap: 44px; }
  .about-media { max-width: 560px; width: 100%; margin: 0 auto; }
  .request { grid-template-columns: 1fr; gap: 24px; }
  .fb-embed { flex: none; height: 520px; min-height: 0; }
  .footer-grid { gap: 24px; }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .journey-scroll { margin: 0 -16px; padding: 0 16px 6px; }
  .about-media { padding-bottom: 40px; }
  .about-media::after { width: 84px; height: 84px; right: -6px; top: -10px; }
  .am-main { width: 84%; }
  .am-sub { width: 54%; border-width: 6px; border-radius: 18px; }
  .am-flags { top: 12px; left: 46%; padding: 7px 9px; gap: 4px; }
  .am-flags img { width: 20px; height: 14px; }
  .about-points li { padding: 14px; gap: 12px; }
  .ap-ico { width: 38px; height: 38px; border-radius: 12px; }
  .form { padding: 18px 16px 20px; }
  .fb-card { padding: 16px; }
  .form-head, .fb-head { min-height: 52px; }
  .form-ico, .fb-head img { width: 52px; height: 52px; }
  .fb-embed { height: 500px; }
  .footer-wave .wave { height: 32px; }
  .footer-main { padding-top: 28px; }
  .hq-body { padding: 20px; }
  .thai-note { padding: 16px; }
}
@media (max-width: 400px) {
  .nav { gap: 10px; }
  .brand img { height: 36px; }
  .pslots { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}

/* Side-slide reveals must never create horizontal scroll */
main { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 900px) {
  .js .reveal.from-left, .js .reveal.from-right { transform: translateY(24px); }
  .js .reveal.in { transform: none; }
}

/* ==========================================================
   Products (rendered from content/products.json by js/cms.js)
   ========================================================== */
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.pitem { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.pitem:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pimg { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.pimg svg { width: 40px; height: 40px; opacity: .45; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pitem:hover .pimg img { transform: scale(1.06); }
.pitem figcaption { padding: 12px 14px 14px; line-height: 1.4; }
.pitem figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.pitem figcaption span { display: block; margin-top: 4px; color: var(--ink-2); font-size: .86rem; }
html[lang="my"] .pitem figcaption { line-height: 1.8; }
.pcat.c1 .pimg { background: #f3e3cf; color: #9a5b2a; }
.pcat.c2 .pimg { background: var(--leaf-soft); color: var(--leaf); }
.pcat.c3 .pimg { background: #f6e0dc; color: #b0504a; }
.pcat.c4 .pimg { background: var(--sea-soft); color: var(--sea); }
@media (max-width: 680px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
  .pitem figcaption { padding: 10px; }
  .pitem figcaption strong { font-size: .9rem; }
}

/* Product photos are square packshots: square cards, same size in every category */
.pgrid { grid-template-columns: repeat(4, 1fr); }
.pimg { aspect-ratio: 1 / 1; }
.pimg img { background: #fff; }
@media (max-width: 1040px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .pgrid { grid-template-columns: repeat(2, 1fr); } }
