/* GeoVeritas — "Orbital" theme: dark, immersive, glass cards, mint glow */
:root {
  --bg: #101B1A;
  --bg-2: #131F1E;
  --bg-3: #172524;
  --panel: #1C2C2B;
  --panel-2: #151F1E;
  --line: rgba(207, 227, 222, .14);
  --line-2: rgba(207, 227, 222, .26);
  --ink: #E7EFED;
  --white: #FFFFFF;
  --muted: #A9BEBA;
  --soft: #B9CCC8;
  --sage: #9FC4BC;
  --mint: #7FE0C4;
  --pill: #CFE3DE;
  --teal: #5A7675;
  --teal-deep: #243433;
  --radius: 18px;
  --head: "Sora", "IBM Plex Sans Thai", system-ui, sans-serif;
  --body: "IBM Plex Sans", "IBM Plex Sans Thai", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pill); }
a:hover { color: var(--white); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0; color: var(--white); letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint); color: var(--bg); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 860px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 26px 0; }
.alt { background: var(--bg-2); }
.white { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--bg); color: var(--ink); }
.teal { background: radial-gradient(ellipse 80% 120% at 20% 0%, #2C4544, #142120 70%); color: var(--ink); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--pill); color: var(--bg); padding: 8px 12px; z-index: 10; border-radius: 6px; }

/* Header (floats over the page top) */
.site-header { position: relative; z-index: 5; background: transparent; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand img { width: 36px; }
.wordmark { font-family: var(--head); font-size: 21px; letter-spacing: .02em; font-weight: 400; }
.wordmark b { font-weight: 700; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; font-size: 15px; }
.nav-links a { color: var(--soft); text-decoration: none; padding: 10px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--mint); }
.lang { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.lang a { color: var(--soft); padding: 10px 2px; }
.lang span[aria-current] { color: var(--white); }

/* Buttons */
.btn { display: inline-block; font-family: var(--body); font-weight: 500; font-size: 16px; text-decoration: none; padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; line-height: 1.3; cursor: pointer; transition: background .2s, box-shadow .2s, border-color .2s; }
.btn-light, .btn-teal { background: var(--pill); color: var(--bg); }
.btn-light:hover, .btn-teal:hover { background: var(--white); color: var(--bg); box-shadow: 0 0 28px rgba(127, 224, 196, .35); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { color: var(--white); border-color: var(--pill); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nav-links a.btn-light, .nav-links a.btn-light:hover { color: var(--bg); padding: 10px 20px; }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.eyebrow.pill { border: 1px solid rgba(159, 196, 188, .35); padding: 7px 14px; border-radius: 999px; }
.eyebrow.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.h1 { font-size: clamp(42px, 5.6vw, 78px); letter-spacing: -.03em; line-height: 1.02; }
.h1 .soft { color: var(--sage); font-weight: 300; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.h3 { font-size: 20px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--soft); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 44px; }
.head-row .h2 { max-width: 680px; }
.more { font-weight: 500; padding: 10px 0; color: var(--pill); }

/* Hero */
.hero { position: relative; padding: 40px 0 110px; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 72% 48%, #2C4544 0%, #172524 55%, #101B1A 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("../img/terrain-tall.webp") center / cover no-repeat; opacity: .16; mix-blend-mode: screen; pointer-events: none; }
.hero-grid { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-text { flex: 1 1 520px; min-width: 0; position: relative; z-index: 2; }
.hero-text .lead { max-width: 540px; margin: 26px 0 40px; }
.hero-art { flex: 1 1 460px; min-width: 0; position: relative; display: flex; justify-content: center; }
.hero-art .globe { width: 118%; max-width: 760px; margin: -60px -10% -60px 0; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(23, 37, 36, .72); border: 1px solid rgba(207, 227, 222, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--white); font-size: 14px; line-height: 1.3; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.float-card img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--bg-3); }
.float-card small { display: block; font-family: var(--mono); font-size: 11px; color: var(--sage); letter-spacing: .06em; }
.fc-1 { top: 12%; left: 0; } .fc-2 { bottom: 14%; right: 0; }
.values-line { margin-top: 44px; font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--muted); }
.values-line i { font-style: normal; color: var(--mint); padding: 0 8px; }
.page-hero { position: relative; padding: 70px 0 100px; overflow: hidden; background: radial-gradient(ellipse 70% 90% at 85% 30%, #2C4544 0%, #172524 50%, #101B1A 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../img/terrain-tall.webp") center / cover no-repeat; opacity: .14; mix-blend-mode: screen; pointer-events: none; }
.page-hero::after { content: ""; position: absolute; right: -180px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); background: url("../img/globe.webp") center / contain no-repeat; opacity: .55; pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .lead { max-width: 720px; margin-top: 22px; }
.page-hero .h1 { max-width: 860px; font-size: clamp(38px, 4.8vw, 64px); }

/* Capability strip */
.capstrip { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capstrip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 22px; padding-bottom: 22px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--sage); }

/* Glass cards */
.cols { display: flex; flex-wrap: wrap; gap: 40px; }
.cols > * { flex: 1 1 280px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; color: var(--ink); text-decoration: none; display: block; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.card:hover { border-color: rgba(127, 224, 196, .45); color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, .3), 0 0 0 1px rgba(127, 224, 196, .15); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { color: var(--muted); font-size: 16px; }
.card-cta { background: radial-gradient(ellipse 90% 120% at 10% 0%, #2C4544, #142120 75%); border-color: rgba(127, 224, 196, .3); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.card-cta p { color: var(--white); font-family: var(--head); font-size: 21px; font-weight: 400; line-height: 1.4; }
.card-cta a { color: var(--mint); font-weight: 500; padding: 8px 0; }
.card.has-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card .media { aspect-ratio: 16 / 9; background: var(--bg-3); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .media .ill { width: 92%; }
.card .media.pad img { object-fit: contain; padding: 12px; }
.card .card-body { padding: 24px 26px 28px; }
.icon { width: 40px; height: 40px; stroke: var(--mint); fill: none; stroke-width: 1.8; }
.num { font-family: var(--mono); font-size: 13px; color: var(--mint); margin-bottom: 8px; letter-spacing: .08em; }
.ill { width: 100%; height: auto; display: block; color: var(--sage); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.step-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(127, 224, 196, .1); border: 1px solid rgba(127, 224, 196, .35); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 0 22px rgba(127, 224, 196, .12); }
.step-icon svg { width: 22px; height: 22px; stroke: var(--mint); fill: none; stroke-width: 1.8; }

/* Work cards */
.work-card { background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); display: block; transition: border-color .2s, transform .2s; }
.work-card:hover { border-color: rgba(127, 224, 196, .45); color: var(--ink); transform: translateY(-3px); }
.work-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card .body { padding: 24px; }
.work-card .tag { font-family: var(--mono); font-size: 12px; color: var(--sage); margin-bottom: 10px; letter-spacing: .06em; }
.work-card h3 { font-size: 21px; line-height: 1.25; margin-bottom: 8px; }
.work-card p { color: var(--muted); font-size: 16px; }
.work-card.next { background: radial-gradient(ellipse 90% 120% at 10% 0%, #2C4544, #142120 75%); border-color: rgba(127, 224, 196, .3); display: flex; flex-direction: column; justify-content: center; padding: 32px; }
.work-card.next h3 { margin-bottom: 10px; }

/* Feature (glowing card) */
.feature { position: relative; border-radius: 28px; overflow: hidden; padding: 60px 56px; background: radial-gradient(ellipse 80% 120% at 20% 0%, #2C4544, #142120 70%); border: 1px solid rgba(207, 227, 222, .16); }
.feature .h2 { max-width: 700px; }
.feature p.lead { max-width: 640px; margin: 14px 0 40px; color: var(--muted); }
.feature img.glow { width: 100%; filter: drop-shadow(0 0 30px rgba(127, 224, 196, .18)); }
.strip { overflow-x: auto; scrollbar-width: thin; }
.strip img { min-width: 760px; width: 100%; }
.scale { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 18px; }
.scale b { display: block; width: 180px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #5E4FA2, #3288BD, #66C2A5, #ABDDA4, #E6F598, #FEE08B, #FDAE61, #F46D43, #D53E4F); }

/* Split with image mosaic */
.split-media { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-media > :first-child { flex: 1 1 440px; min-width: 0; }
.mosaic { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; }
.mosaic figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 10px; bottom: 10px; font-family: var(--mono); font-size: 11px; color: var(--white); background: rgba(16, 27, 26, .8); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); }
.values-list > div { padding: 20px 0; border-top: 1px solid var(--line); }
.values-list > div:last-child { border-bottom: 1px solid var(--line); }

/* Banner over terrain */
.banner { position: relative; color: var(--white); padding: 130px 0; background: linear-gradient(180deg, rgba(16, 27, 26, .55), rgba(16, 27, 26, .85)), url("../img/terrain.webp") center / cover no-repeat; }
.banner .h2 { max-width: 760px; }
.banner p.lead { max-width: 640px; margin-top: 16px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 44px; }
.pillars div { background: rgba(23, 37, 36, .6); border: 1px solid rgba(207, 227, 222, .22); border-radius: 14px; padding: 20px 22px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pillars b { display: block; font-family: var(--head); font-weight: 600; font-size: 17px; margin-bottom: 4px; color: var(--white); }
.pillars span { color: var(--soft); font-size: 15px; }

/* World map + audiences */
.world { background: var(--bg-2); padding: 110px 0 90px; overflow: hidden; border-top: 1px solid var(--line); }
.world img { width: 100%; max-width: 1200px; margin: 48px auto 0; opacity: .95; }
.who { display: flex; flex-wrap: wrap; gap: 56px; }
.who > div { flex: 1 1 340px; }
.who ul { flex: 2 1 520px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.who li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.who li strong { font-family: var(--head); font-size: 18px; font-weight: 600; display: block; color: var(--white); }
.who li span { color: var(--muted); }

.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tools b { font-weight: 500; color: var(--mint); letter-spacing: .12em; }

/* CTA with orbit */
.cta-orbit { position: relative; text-align: center; padding: 130px 0 140px; background: radial-gradient(ellipse 50% 60% at 50% 100%, #2C4544, #101B1A 70%); overflow: hidden; }
.cta-orbit svg { position: absolute; left: 50%; top: 50%; width: 1400px; max-width: none; transform: translate(-50%, -50%); opacity: .35; pointer-events: none; }
.cta-orbit .wrap { position: relative; }
.cta-orbit .h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 18px; }
.cta-orbit p { color: var(--soft); font-size: 19px; margin-bottom: 36px; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band > div { flex: 1 1 520px; }
.cta-band p { color: var(--soft); font-size: 19px; margin-top: 12px; }
.cta-band .mail { color: var(--white); font-weight: 500; padding: 14px 4px; }

/* Services page */
.jump { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { color: var(--ink); text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 15px; background: rgba(23, 37, 36, .5); backdrop-filter: blur(4px); }
.jump a:hover { border-color: var(--mint); color: var(--white); }
.svc { display: flex; flex-wrap: wrap; gap: 40px; padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.svc:last-child { border-bottom: 0; }
.svc > div:not(.media):not(.box) { flex: 1 1 360px; }
.svc h2 { font-size: 34px; margin-bottom: 14px; }
.svc .media { flex: 1 1 100%; order: -1; border-radius: 22px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); aspect-ratio: 21 / 7; display: flex; align-items: center; justify-content: center; }
.svc .media img { width: 100%; height: 100%; object-fit: cover; }
.svc .media .ill { height: 100%; width: auto; max-width: 100%; padding: 14px 0; }
.svc .media.pad img { object-fit: contain; padding: 16px; }
.svc .media.duo { display: grid; grid-template-columns: 1fr 1fr; }
.svc .box { flex: 1 1 300px; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.box h3 { font-size: 17px; margin-bottom: 8px; }
.box ul { margin: 0 0 20px; padding-left: 20px; color: var(--muted); }
.box ul:last-child { margin-bottom: 0; }
.box li::marker { color: var(--mint); }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--head); font-weight: 600; font-size: 19px; color: var(--white); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--mint); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Work page */
.case { display: flex; flex-wrap: wrap; gap: 44px; padding: 64px 0; border-bottom: 1px solid var(--line); }
.case:last-of-type { border-bottom: 0; }
.case figure { flex: 1 1 440px; min-width: 0; margin: 0; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; align-self: flex-start; }
.case figure a { display: block; }
.case figure img { border-radius: 8px; }
.case figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; }
.case .text { flex: 1 1 520px; min-width: 0; }
.case h2 { font-size: 30px; line-height: 1.2; margin-bottom: 18px; }
.case h3 { font-size: 16px; margin-bottom: 4px; color: var(--sage); font-family: var(--mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.case .text p { color: var(--soft); margin-bottom: 16px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.stats > div { padding: 14px 18px; border-radius: 14px; background: rgba(127, 224, 196, .06); border: 1px solid rgba(127, 224, 196, .22); }
.stats strong { display: block; font-family: var(--head); font-size: 26px; font-weight: 600; color: var(--white); line-height: 1.2; }
.stats span { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-2); color: var(--soft); padding: 4px 12px; border-radius: 999px; }

/* About */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > :first-child { flex: 1 1 360px; }
.split > :last-child { flex: 1 1 520px; color: var(--soft); }
.split > :last-child p + p { margin-top: 18px; }
.split .h2 span { color: var(--mint) !important; }
.mv { display: flex; flex-wrap: wrap; gap: 18px; }
.mv > div { flex: 1 1 440px; border-radius: 22px; padding: 44px; border: 1px solid var(--line); }
.mv h2 { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .14em; margin-bottom: 16px; color: var(--sage); }
.mv p { font-family: var(--head); font-weight: 400; font-size: 23px; line-height: 1.45; color: var(--white); }
.mv .card-white { background: linear-gradient(180deg, var(--panel), var(--panel-2)); }
.person { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.person .avatar { flex: 0 0 200px; aspect-ratio: 1; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.person .avatar img { width: 46%; }
.person > div:last-child { flex: 1 1 420px; }
.commit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.commit > div { padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); }
.commit h3 { font-size: 19px; margin-bottom: 8px; }
.band { background: var(--bg-2); color: var(--ink); padding: 90px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 28px; }
.band-head p { color: var(--muted); max-width: 560px; }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-grid > div { flex: 1 1 380px; }
.contact-grid .lead { margin: 22px 0 36px; }
dl.details { margin: 0; }
dl.details div { padding: 18px 0; border-top: 1px solid var(--line); }
dl.details div:last-child { border-bottom: 1px solid var(--line); }
dl.details dt { font-family: var(--mono); font-size: 13px; color: var(--sage); letter-spacing: .1em; }
dl.details dd { margin: 4px 0 0; font-size: 18px; }
form.enquiry { flex: 1 1 480px; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: 22px; padding: 38px; display: flex; flex-direction: column; gap: 20px; }
form.enquiry h2 { font-size: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
form.enquiry > .field { flex: 0 0 auto; }
.field label { font-weight: 500; font-size: 15px; color: var(--soft); }
.field input, .field select, .field textarea { font: inherit; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(16, 27, 26, .7); min-height: 48px; color: var(--white); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint); outline: none; box-shadow: 0 0 0 3px rgba(127, 224, 196, .18); }
.field textarea { resize: vertical; min-height: 140px; }
.field textarea::placeholder { color: #7E9491; }
.hidden { display: none; }
form.enquiry button { align-self: flex-start; }
.small { font-size: 14px; color: var(--muted); }
#contact-hero { background: radial-gradient(ellipse 60% 80% at 80% 20%, #22393800, #101B1A), radial-gradient(ellipse 50% 70% at 85% 10%, #2C4544, transparent 70%); }

/* Footer */
.site-footer { background: #0B1413; color: var(--muted); padding: 56px 0 36px; font-size: 15px; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot > div:first-child { flex: 1 1 300px; }
.foot .brand { margin-bottom: 10px; }
.foot .brand img { width: 32px; }
.foot .wordmark { font-size: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.foot a { color: var(--soft); }
.foot a:hover { color: var(--white); }
.foot nav a { padding: 6px 0; }
.foot address { font-style: normal; flex: 0 1 280px; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* Legacy helpers kept for older markup */
.contour { position: relative; isolation: isolate; }
.chip { display: none; }
.hero-fig { display: none; }

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 24px 0 72px; }
  .hero-art .globe { width: 100%; margin: 0; }
  .float-card { display: none; }
  .capstrip .wrap { justify-content: flex-start; gap: 8px 18px; }
  .capstrip span[aria-hidden] { display: none; }
  .page-hero::after { width: 360px; height: 360px; right: -160px; opacity: .35; }
  .nav-links { gap: 2px 18px; }
  .nav-links .btn { display: none; }
  .feature { padding: 36px 24px; }
  .banner { padding: 80px 0; }
  .svc .media { aspect-ratio: 16 / 9; }
  .mosaic { aspect-ratio: auto; grid-template-rows: 180px 180px; }
  form.enquiry, .svc .box, .mv > div { padding: 26px; }
  .cta-orbit { padding: 90px 0 100px; }
}

/* ---------- Photography ---------- */
.page-hero.photo::before { opacity: 1; mix-blend-mode: normal; background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-hero.photo::after { display: none; }
.ph-services::before { background-image: linear-gradient(90deg, #101B1A 0%, rgba(16,27,26,.88) 40%, rgba(16,27,26,.45) 100%), url("../img/photos/photo-rice-paddies.webp") !important; }
.ph-work::before { background-image: linear-gradient(90deg, #101B1A 0%, rgba(16,27,26,.85) 40%, rgba(16,27,26,.35) 100%), url("../img/photos/photo-flood-road.webp") !important; }
.ph-about::before { background-image: linear-gradient(90deg, #101B1A 0%, rgba(16,27,26,.85) 40%, rgba(16,27,26,.3) 100%), url("../img/photos/photo-coast-forest.webp") !important; }
.banner.space { background: linear-gradient(90deg, rgba(16,27,26,.95) 0%, rgba(16,27,26,.75) 50%, rgba(16,27,26,.2) 100%), url("../img/photos/photo-earth-satellite.webp") center / cover no-repeat; }
.svc .media.duo > img, .svc .media.duo > .pane { width: 100%; height: 100%; min-width: 0; }
.svc .media.duo > img { object-fit: cover; }
.svc .media.duo > .pane { display: flex; align-items: center; justify-content: center; padding: 14px; background: var(--bg-3); border-left: 1px solid var(--line); }
.svc .media.duo > .pane img { width: 100%; height: 100%; object-fit: contain; }
.svc .media.duo > .pane .ill { height: 100%; width: auto; max-width: 100%; padding: 0; }
.photo-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 56px; }
.photo-row figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); height: 300px; }
.photo-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.photo-row figure:hover img { transform: scale(1.04); }
.photo-row figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 12px; color: var(--white); background: rgba(16,27,26,.8); padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); }
.contact-photo { margin: 32px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.credits { font-size: 13px; color: var(--muted); padding-top: 28px; padding-bottom: 28px; }
.credits a { color: var(--soft); }
@media (max-width: 720px) {
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row figure { height: 170px; }
  .photo-row figure:first-child { grid-column: span 2; height: 210px; }
  .svc .media.duo { grid-template-columns: 1fr; aspect-ratio: auto; }
  .svc .media.duo > img { aspect-ratio: 16 / 9; }
  .svc .media.duo > .pane { aspect-ratio: 16 / 9; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Photo tiles (home, Thai home) ---------- */
.tiles { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 270px 270px; gap: 16px; }
.tile { position: relative; display: flex; align-items: flex-end; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); color: var(--white); text-decoration: none; min-height: 220px; isolation: isolate; }
.tile.t-big { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,27,26,0) 35%, rgba(16,27,26,.92) 100%); }
.tile:hover { color: var(--white); border-color: rgba(127, 224, 196, .5); }
.tile:hover img { transform: scale(1.05); }
.tile-body { display: block; padding: 22px 24px; }
.tile-body small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--mint); margin-bottom: 6px; }
.tile-body b { display: block; font-family: var(--head); font-weight: 600; font-size: 20px; line-height: 1.2; }
.tile.t-big .tile-body b { font-size: 28px; }
.tile-body > span { display: block; margin-top: 6px; color: #D3E0DC; font-size: 15px; line-height: 1.45; }
.work-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work-duo .tile { height: 380px; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.values-row small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--mint); }
.values-row b { display: block; font-family: var(--head); font-weight: 600; font-size: 18px; margin: 6px 0 4px; color: var(--white); }
.values-row span { color: var(--muted); font-size: 15px; }
.cta-photo { padding: 120px 0; }
.cta-photo .h2 { max-width: 640px; }
.cta-photo .btn-row { margin-top: 30px; }
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .tile.t-big { grid-column: span 2; grid-row: auto; }
  .work-duo { grid-template-columns: 1fr; }
  .work-duo .tile { height: 300px; }
}
@media (max-width: 560px) {
  .tiles { grid-auto-rows: 190px; gap: 12px; }
  .tile-body { padding: 16px; }
  .tile-body > span { display: none; }
  .tile.t-big .tile-body > span { display: block; }
  .tile-body b, .tile.t-big .tile-body b { font-size: 17px; }
  .tile.t-big .tile-body b { font-size: 22px; }
  .values-row { grid-template-columns: 1fr; gap: 16px; }
  .cta-photo { padding: 80px 0; }
}
.who-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.who-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.who-list strong { display: block; font-family: var(--head); font-weight: 600; color: var(--white); }
.who-list span { color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .who-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tiles { grid-auto-rows: auto; }
  .tile { min-height: 0; height: 180px; }
  .tile.t-big { height: 280px; }
  .hero { padding-bottom: 40px; }
  .hero-art { flex-basis: 100%; }
  .hero-art .globe { width: 72%; margin: -10px auto -20px; }
}

/* ---------- Contact: email card (replaces the old form) ---------- */
.enquiry-card { flex: 1 1 480px; align-self: flex-start; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); border-radius: 22px; padding: 38px; display: flex; flex-direction: column; gap: 18px; }
.enquiry-card h2 { font-size: 26px; }
.enquiry-card ul.ask { margin: 0; padding-left: 20px; color: var(--soft); }
.enquiry-card ul.ask li { margin: 4px 0; }
.topic-links { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-links a { font-size: 14px; color: var(--pill); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; transition: border-color .2s, color .2s; }
.topic-links a:hover { border-color: rgba(127, 224, 196, .5); color: var(--mint); }
@media (max-width: 560px) { .enquiry-card { padding: 26px; } }
