/* Neo Edge corporate site — static rebuild of the STUDIO site (neoedge.co.jp).
   Layout model follows the live site's own rules (read from its rendered CSS, 2026-11-26):
   - sections are full-width bands with 48px side padding (24px at <=840px)
   - content sits in a centred container: width 1280px, max-width 100% (.wrap), border-box
   - columns are percentages of that container (60% / calc(40% - 48px), 49%, calc(33% - 24px) ...)
   - breakpoints: 1140 / 840 / 540px, same values as the live site. */

:root {
  --black: #000;
  --ink: #333;
  --blue: #1e5a9f;
  --blue-50: rgba(30, 90, 159, 0.5);
  --bg: #f8f7f6;
  --white: #fff;
  --muted: #aaa;
  --line: #ccc;
  --required: #f23a3c;
  --radius: 10px;
  --shadow-photo: 40px 50px 30px 0 rgba(0, 0, 0, 0.1);
  --shadow-value: 30px 40px 30px 0 rgba(0, 0, 0, 0.1);
  --shadow-btn: 20px 20px 30px 0 rgba(0, 0, 0, 0.2);
  --shadow-card: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
  --ff-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --ff-en: "Montserrat", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* page wrapper: creates the stacking context the fixed photo sits in */
.page { position: relative; z-index: 0; background: var(--bg); overflow-x: clip; }

/* centred content container (STUDIO: width 1280px; max-width 100%) */
.wrap { width: 1280px; max-width: 100%; margin-left: auto; margin-right: auto; }
.wrap--inset { padding-left: 48px; padding-right: 48px; }
.col-center { display: flex; flex-direction: column; align-items: center; }

/* fixed background photo (STUDIO "image fixed" layer: 100vh, z-index -1, brightness .8,
   entrance zoom 1.05 -> 1) */
.bg-fixed {
  position: fixed; top: 0; left: 0; z-index: -1;
  width: 100%; height: 100vh;
  background: url("/assets/img/hero-building.jpg") center / cover no-repeat;
  filter: brightness(0.8);
  transition: transform 3s cubic-bezier(0.42, 0, 0.6, 1.19) 0.5s;
}
.js .bg-fixed { transform: scale(1.05); }
.js .bg-fixed.is-in { transform: none; }

/* ---------- typography helpers ---------- */
.body-text { font-size: 16px; line-height: 1.6; letter-spacing: 0.05em; font-weight: 700; }
.body-text.w3 { font-weight: 400; }
.center { text-align: center; }

/* ---------- header (fixed, full width) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(rgba(0, 0, 0, 0.5) 0%, rgba(102, 102, 102, 0) 100%);
  color: var(--white);
}
.brand { display: flex; align-items: center; transition: opacity .4s cubic-bezier(.4, .4, 0, 1), transform .4s cubic-bezier(.4, .4, 0, 1); }
.brand img { width: 80px; height: 80px; flex: none; }
.brand-name { font-family: var(--ff-en); font-size: 20px; line-height: 1; font-weight: 600; letter-spacing: 0.1em; white-space: nowrap; }
.global-nav { display: flex; align-items: center; }
.global-nav a, .footer-nav a {
  display: block; padding: 0 12px; font-family: var(--ff-en); font-size: 14px; font-weight: 600;
  line-height: 1.4; letter-spacing: 0.15em; white-space: nowrap;
  transition: opacity .4s cubic-bezier(.4, .4, 0, 1), transform .4s cubic-bezier(.4, .4, 0, 1);
}
/* hover effects as on the live site */
.brand:hover, .global-nav a:hover { opacity: .7; transform: scale(1.05); }
.footer-nav a:hover, .footer-privacy:hover, .breadcrumb a:hover, .scroll-indicator span:hover { opacity: .5; }
.footer-nav a:first-child { border-bottom: 2px solid transparent; } /* live site quirk: makes the row 2px taller */
.menu-button {
  display: none; position: absolute; top: 0; right: 0; bottom: 0; padding: 24px;
  border: 0; background: none; color: inherit; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-button svg { width: 24px; height: 24px; fill: currentColor; }

.mobile-menu { position: fixed; inset: 0; z-index: 30; visibility: hidden; }
.mobile-menu__scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(0, 0, 0, 0.16); opacity: 0; transition: opacity .4s; }
.mobile-menu__panel {
  position: absolute; inset: 0; background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 0 48px 48px;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.4, .4, 0, 1);
}
.mobile-menu__panel a { font-family: var(--ff-en); font-size: 16px; font-weight: 600; letter-spacing: 0.15em; padding: 24px 0; line-height: 1.3; }
.mobile-menu__close { position: absolute; top: 0; right: 0; width: 72px; height: 72px; border: 0; background: none; color: var(--black); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu__close svg { width: 24px; height: 24px; fill: currentColor; }
.mobile-menu.is-open { visibility: visible; }
.mobile-menu.is-open .mobile-menu__scrim { opacity: 1; }
.mobile-menu.is-open .mobile-menu__panel { transform: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  padding: 12px 48px; border-radius: var(--radius);
  background: var(--black); color: var(--white); box-shadow: var(--shadow-btn);
  font-size: 14px; font-weight: 700; line-height: 1.9; letter-spacing: 0.05em; white-space: nowrap;
  border: 0; cursor: pointer; transition: box-shadow .4s cubic-bezier(.4, .4, 0, 1), transform .4s cubic-bezier(.4, .4, 0, 1);
}
.btn:hover { box-shadow: 0 0 0 rgba(0, 0, 0, 0.2); transform: translate(10px, 10px); }
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn--white { background: var(--white); color: var(--black); }
.btn--ink { background: var(--ink); padding: 12px 24px; }
.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }

.view-more { display: inline-flex; align-items: center; font-family: var(--ff-en); font-size: 14px; font-weight: 600; line-height: 1.4; transition: opacity .6s; }
.view-more:hover { opacity: .5; }

/* ---------- section scaffolding ---------- */
.sec { background: var(--bg); padding: 192px 48px; }
.sec-title { font-family: var(--ff-en); font-size: 64px; line-height: 1; font-weight: 600; }
.sec-sub { font-size: 28px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; }

/* ---------- home hero ---------- */
.home-hero { position: relative; color: var(--white); }
.home-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 275px; background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%); pointer-events: none; }
.home-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 192px 48px 96px; }
.home-hero__eyebrow { margin-bottom: 48px; font-family: var(--ff-en); font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: 0.1em; }
.home-hero__title { margin-bottom: 48px; font-family: var(--ff-en); font-size: 96px; line-height: 1.1; font-weight: 600; letter-spacing: 0.1em; }
.home-hero__lead { width: 865px; max-width: 100%; margin-bottom: 48px; text-align: justify; }
.scroll-indicator { position: absolute; z-index: 1; top: 0; right: 0; height: 100%; padding: 0 48px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.scroll-indicator span { margin-bottom: 24px; writing-mode: vertical-rl; font-family: var(--ff-en); font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: 0.15em; }
.scroll-indicator i { display: block; width: 1px; height: 40%; background: linear-gradient(#fff 0%, rgba(255, 255, 255, 0) 100%); }

.what-we-do {
  position: relative; padding: 0 48px 120px; color: var(--white);
  background: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.81) 71%, #000 100%);
}
.what-we-do h2 { margin-bottom: 48px; font-family: var(--ff-en); font-size: 72px; line-height: 1.4; font-weight: 600; }
.what-we-do p { width: 50%; margin-bottom: 24px; text-align: justify; }

/* ---------- home: service rows ---------- */
.home-service .sec-head { margin-bottom: 96px; }
.svc-row { display: flex; align-items: center; justify-content: center; margin-bottom: 96px; }
.svc-row--reverse { flex-direction: row-reverse; }
.svc-row__media { flex: none; width: 60%; height: 520px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.svc-row__media img { width: 100%; height: auto; }
.svc-row__text { flex: none; width: calc(40% - 48px); margin-left: 48px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.svc-row--reverse .svc-row__text { margin-left: 0; margin-right: 48px; }
.svc-row__text h3 { margin-bottom: 24px; font-family: var(--ff-en); font-size: 40px; line-height: 1.4; font-weight: 600; text-align: center; }
.svc-row__text p { align-self: stretch; margin-bottom: 48px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 96px; background: var(--blue-50); color: var(--white); }
.cta-band__row { display: flex; align-items: center; justify-content: space-between; }
.cta-band__text { flex: 1; min-width: 0; margin-right: 48px; }
.cta-band__title { margin-bottom: 24px; font-size: 32px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }
.cta-band--post { width: 100%; margin-bottom: 48px; padding: 48px; }
.cta-band--post > .body-text { margin-bottom: 24px; }

/* ---------- article cards ---------- */
.home-cases .sec-head { margin-bottom: 48px; }
.card-grid { display: flex; flex-wrap: wrap; align-items: stretch; }
.post-card { flex: none; display: flex; flex-direction: column; align-items: flex-start; width: calc(33% - 24px); margin: 0 12px 24px; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); transition: box-shadow .8s; }
.card-grid--home .post-card { margin-bottom: 0; }
.post-card:hover { box-shadow: 0 0 0 rgba(0, 0, 0, 0.1); }
.post-card__img { width: 100%; height: 180px; margin-bottom: 24px; border-radius: var(--radius); background: center / cover no-repeat; }
.post-card__title { margin-bottom: 24px; font-size: 16px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }
.post-card__date { font-family: var(--ff-en); font-size: 14px; line-height: 1.4; font-weight: 500; letter-spacing: 0.05em; color: var(--muted); }

/* ---------- home careers ---------- */
.home-careers { padding-top: 0; }
.careers-row { display: flex; align-items: center; justify-content: center; }
.careers-row__text { flex: none; width: calc(40% - 48px); margin-right: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.careers-row__text h2 { margin-bottom: 24px; line-height: 1.4; }
.careers-row__text p { align-self: stretch; margin-bottom: 24px; }
.careers-row__media { flex: none; width: 60%; height: 520px; border-radius: var(--radius); box-shadow: var(--shadow-photo); }
/* photos with a shadow: the image sits on ::before so the live site's brightness filter does not dim the shadow */
.careers-row__media, .about__media, .message__media { position: relative; }
.careers-row__media::before, .about__media::before, .message__media::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; filter: brightness(0.7);
  background: center / cover no-repeat;
}
.careers-row__media::before { background-image: url("/assets/img/home/careers.jpg"); }
.about__media::before { background-image: url("/assets/img/company/about.jpg"); }
.message__media::before { background-image: url("/assets/img/company/ceo.webp"); }

/* ---------- sub page hero ---------- */
.sub-hero { padding: 192px 0; color: var(--white); background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%); }
.sub-hero__inner { padding: 0 48px; }
.sub-hero__inner--full { width: 100%; }
.sub-hero .sub-hero__title { margin-bottom: 24px; font-family: var(--ff-en); font-size: 72px; line-height: 1; font-weight: 600; letter-spacing: normal; }
.sub-hero p:not(.sub-hero__title) { font-size: 28px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }

/* ---------- company ---------- */
.mission { padding: 96px 48px 48px; }
.mission .sec-title, .values .sec-title { margin-bottom: 24px; }
.mission .sec-sub { margin-bottom: 24px; }
.mission .body-text { width: 50%; margin-bottom: 24px; text-align: justify; }
.values { padding: 48px; }
.values .sec-sub { margin-bottom: 48px; }
.values-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.value-card { flex: none; width: calc(50% - 48px); margin: 0 24px 48px; padding: 48px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-value); }
.value-card h3 { margin-bottom: 12px; font-family: var(--ff-en); font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: 0.05em; color: var(--blue); }
.value-card p { font-size: 14px; line-height: 1.4; letter-spacing: 0.05em; }
.about, .message { padding: 48px 48px 192px; }
.about__row, .message__row { display: flex; align-items: flex-start; justify-content: center; }
.about__text { flex: none; width: calc(40% - 48px); margin-right: 48px; }
.about__text .sec-title, .message__text .sec-title { margin-bottom: 24px; }
.about__text .sec-sub, .message__text .sec-sub { margin-bottom: 48px; }
.about dl div { display: flex; margin-bottom: 24px; font-size: 16px; line-height: 1.6; letter-spacing: 0.05em; }
.about dl div:last-child { margin-bottom: 0; }
.about dt { flex: none; width: 80px; margin-right: 12px; }
.about dd { flex: 1; min-width: 0; }
.about__media { flex: none; width: 60%; height: 520px; border-radius: var(--radius); box-shadow: var(--shadow-photo); }
.message__text { flex: none; width: calc(60% - 48px); margin-right: 48px; }
.message__text h3 { margin-bottom: 24px; font-size: 20px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }
.message__text .body-text { margin-bottom: 24px; }
.message__media { flex: none; width: 40%; height: 800px; margin-top: 160px; border-radius: var(--radius); box-shadow: var(--shadow-photo); }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 24px 0; background: var(--bg); }
.breadcrumb__inner { display: flex; align-items: center; padding: 0 48px; white-space: nowrap; font-family: var(--ff-en); font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--blue); }
.breadcrumb a { color: var(--muted); }
.breadcrumb .icon { width: 16px; height: 16px; margin: 0 12px; color: var(--blue); }

/* ---------- service page ---------- */
.our-service { padding: 96px 48px; }
.our-service .sec-title { margin-bottom: 24px; }
.our-service .sec-sub { margin-bottom: 48px; }
.svc-card { width: 100%; margin-bottom: 96px; padding: 96px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-photo); display: flex; flex-direction: column; align-items: center; }
.svc-card:last-child { margin-bottom: 0; }
.svc-card h3 { margin-bottom: 24px; font-family: var(--ff-en); font-size: 48px; line-height: 1.4; font-weight: 600; color: var(--blue); text-align: center; }
.svc-card__lead { margin-bottom: 48px; text-align: center; }
.feature { width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 96px; }
.feature--reverse { flex-direction: row-reverse; }
.feature img { flex: none; width: 60%; height: 420px; border-radius: var(--radius); object-fit: cover; filter: brightness(0.9); }
.feature img.is-faded { opacity: .8; }
.feature__text { flex: none; width: calc(40% - 48px); margin-left: 48px; }
.feature--reverse .feature__text { margin-left: 0; margin-right: 48px; }
.feature__num { margin-bottom: 12px; font-family: var(--ff-en); font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--blue); }
.feature__text h4 { margin-bottom: 24px; font-size: 24px; line-height: 1.4; font-weight: 700; }
.svc-card__actions { display: flex; justify-content: center; gap: 0 40px; width: 100%; }

/* ---------- case study listing ---------- */
.list-sec { padding: 96px 48px; display: flex; flex-direction: column; align-items: center; }
.list-sec h2 { font-size: 36px; line-height: 1.4; font-weight: 700; color: var(--blue); }
.back-link { display: inline-flex; align-items: center; margin-bottom: 24px; font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--blue); }
.cat-wrap { margin-bottom: 24px; padding: 24px 48px; }
.cat-links { display: flex; flex-wrap: wrap; justify-content: center; font-size: 14px; line-height: 1.2; font-weight: 800; color: var(--blue); }
.cat-links a { margin: 0 12px 12px 0; }
.cat-links a { transition: opacity .4s; }
.cat-links a:hover { opacity: .8; }

/* ---------- post ---------- */
.post-sec { padding: 96px 48px; display: flex; flex-direction: column; align-items: center; }
.post-wrap { display: flex; flex-direction: column; align-items: flex-start; }
.post-date { margin-bottom: 24px; font-family: var(--ff-en); font-size: 16px; line-height: 1; font-weight: 600; letter-spacing: 0.05em; color: var(--muted); }
.post-title { margin-bottom: 48px; font-size: 28px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }
.post-body { width: 100%; margin-bottom: 96px; padding: 96px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-photo); display: flex; flex-direction: column; align-items: center; }
.post-body__thumb { width: 100%; height: auto; margin-bottom: 48px; }
.rich { display: flow-root; width: 740px; max-width: 100%; margin-bottom: 48px; color: var(--ink); font-family: var(--ff-en); font-size: 16px; line-height: 1.4; }
.rich > p { min-height: 1em; margin: 0 0 24px; font-family: var(--ff-jp); line-height: 1.6; }
.rich > h2 { margin: 0 0 24px; font-family: var(--ff-jp); font-size: 24px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }
.rich > h3 { margin: 0 0 24px; font-family: var(--ff-jp); font-size: 20px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }
.rich strong { font-family: var(--ff-jp); font-weight: 700; line-height: 1.6; }
.rich a { color: var(--blue); font-family: var(--ff-jp); text-decoration: underline; }
.rich img { max-width: 100%; height: auto; vertical-align: bottom; }
.rich figure { margin: 48px 0; }
.rich hr { margin: 12px 0; border: 0; border-top: 1px solid var(--line); }
.rich ul, .rich ol { margin: 0 0 0 20px; padding: 0; font-family: var(--ff-jp); }
.rich ul li { list-style: outside; }
.rich ol li { list-style: decimal; }
.rich li { margin: 10px 0; font-family: var(--ff-jp); line-height: 1.2; }
.rich li p { margin: 0; }
.post-body .btn--back svg { order: -1; }
/* parts that only Markdown articles use (the STUDIO snapshots have none of these) */
.rich > h4 { margin: 0 0 16px; font-family: var(--ff-jp); font-size: 17px; line-height: 1.6; font-weight: 700; letter-spacing: 0.05em; }
.rich figcaption:not(:empty) { margin-top: 12px; font-family: var(--ff-jp); font-size: 14px; line-height: 1.6; color: #666; text-align: center; }
.rich blockquote { margin: 0 0 24px; padding: 4px 0 4px 20px; border-left: 4px solid var(--line); color: #555; }
.rich blockquote > p { margin: 0 0 12px; font-family: var(--ff-jp); line-height: 1.6; }
.rich blockquote > p:last-child { margin-bottom: 0; }
.rich code { padding: 2px 6px; border-radius: 4px; background: #f1f1ef; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92em; }
.rich pre { margin: 0 0 24px; padding: 20px; overflow-x: auto; border-radius: var(--radius); background: #f1f1ef; line-height: 1.6; }
.rich pre code { padding: 0; background: none; }
.rich-table { margin: 0 0 24px; overflow-x: auto; }
.rich table { width: 100%; border-collapse: collapse; font-family: var(--ff-jp); font-size: 15px; line-height: 1.6; }
.rich th, .rich td { padding: 12px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.rich th { background: #f6f5f3; font-weight: 700; }
.rich--md > ul, .rich--md > ol { margin-bottom: 24px; }
.rich--md li { margin: 6px 0; line-height: 1.6; }
.draft-note { margin-bottom: 24px; padding: 10px 16px; border-radius: var(--radius); background: #fff4d6; color: #6b4a00; font-size: 14px; line-height: 1.6; font-weight: 700; }

/* ---------- contact ---------- */
.contact-sec { padding: 96px 48px; }
.contact-card { padding: 96px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-photo); display: flex; flex-direction: column; align-items: center; }
.contact-card h2 { margin-bottom: 24px; font-size: 28px; line-height: 1.4; font-weight: 700; text-align: center; }
.contact-card__lead { margin-bottom: 48px; font-size: 14px; line-height: 1.6; letter-spacing: 0.05em; text-align: center; }
.cform { width: 640px; max-width: 100%; color: var(--ink); display: flex; flex-direction: column; align-items: center; }
.cform__field { display: block; width: 100%; margin-bottom: 24px; }
.cform__field--message { margin-bottom: 48px; }
.cform__label { display: flex; gap: 5px; margin-bottom: 10px; font-size: 16px; line-height: 1.4; font-weight: 700; }
.cform__req { color: var(--required); font-family: var(--ff-en); font-size: 15px; }
.cform input[type="text"], .cform input[type="email"], .cform textarea {
  display: block; width: 100%; height: 50px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
  font-family: var(--ff-en); font-size: 15px; line-height: 1.4; color: var(--ink);
}
.cform textarea { height: 160px; padding: 10px; resize: none; }
.cform ::placeholder { color: #ccc; }
.cform input[type="text"]:focus, .cform input[type="email"]:focus, .cform textarea:focus { border-color: var(--muted); }
.cform fieldset { width: 100%; border: 0; margin: 0; padding: 0; }
.cform legend { padding: 0; margin-bottom: 10px; font-family: var(--ff-en); }
.cform legend .cform__req { font-size: 16px; }
.cform__radio { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-family: var(--ff-en); font-size: 16px; line-height: 1.4; cursor: pointer; transition: background .4s; }
.cform__radio:hover { background: #fafafa; }
.cform__radio input { flex: none; width: 15px; height: 15px; margin: 0; }
.cform__consent-wrap { margin-bottom: 24px; }
.cform__consent { display: flex; justify-content: center; align-items: center; font-size: 14px; line-height: 1.4; cursor: pointer; }
.cform__consent input { margin: 0 10px 0 0; }
.cform__consent a { text-decoration: underline; }
.cform__submit { display: flex; justify-content: center; }
.cform__submit .btn[disabled] { opacity: .5; cursor: wait; }
.cform__error { display: none; margin-top: 6px; color: var(--required); font-size: 13px; line-height: 1.4; }
.cform [aria-invalid="true"] { border-color: var(--required) !important; }
.cform__field.has-error .cform__error, fieldset.has-error .cform__error, .cform__consent-wrap.has-error .cform__error { display: block; }
.cform__consent-wrap .cform__error { text-align: center; }
.cform__turnstile { display: flex; justify-content: center; margin-bottom: 24px; }
.cform__turnstile:empty { display: none; }
.cform__status { width: 100%; margin-top: 24px; padding: 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.6; text-align: center; }
.cform__status[hidden] { display: none; }
.cform__status--ok { background: #eef4fb; color: var(--blue); }
.cform__status--ng { background: #fdecec; color: #b3261e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- privacy ---------- */
.privacy-sec { padding: 96px 48px; }
.privacy-sec .sec-title { margin-bottom: 24px; }
.privacy-card { width: 100%; margin-bottom: 96px; padding: 96px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-photo); color: var(--ink); font-family: var(--ff-en); font-size: 20px; line-height: 1.4; white-space: pre-line; }

/* ---------- footer ---------- */
.site-footer { padding: 96px 0; background: var(--black); color: var(--white); display: flex; flex-direction: column; align-items: center; }
.footer-cards { display: flex; align-items: center; justify-content: space-between; margin-bottom: 96px; padding: 0 48px; }
.footer-card { flex: none; width: 49%; display: flex; align-items: center; justify-content: space-between; padding: 48px; border-radius: var(--radius); background: var(--white); color: var(--black); box-shadow: var(--shadow-card); }
.footer-card__text { flex: none; display: flex; flex-direction: column; align-items: flex-start; }
.footer-card__title { margin-bottom: 24px; font-family: var(--ff-en); font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: 0.05em; color: var(--blue); }
.footer-card__sub { font-size: 16px; line-height: 1.4; letter-spacing: 0.05em; }
.footer-card .icon { width: 48px; height: 48px; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 48px; padding: 0 48px; }
.footer-brand { margin-right: 24px; font-family: var(--ff-en); font-size: 20px; line-height: 1; font-weight: 700; letter-spacing: 0.05em; }
.footer-nav { display: flex; align-items: center; }
.footer-privacy { padding: 0 12px; font-family: var(--ff-en); font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: 0.15em; }
.footer-copy { font-family: var(--ff-en); font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: 0.05em; }

/* ---------- appear animation (simplified STUDIO "appear": fade in while rising 24px) ---------- */
.js [data-appear] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.4, .4, 0, 1), transform .8s cubic-bezier(.4, .4, 0, 1); }
.js [data-appear].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-appear] { opacity: 1; transform: none; transition: none; }
  .js .bg-fixed { transform: none; transition: none; }
  .mobile-menu__panel, .mobile-menu__scrim, .btn, .brand, .global-nav a { transition: none; }
}

/* ======================================================================
   <=1140px
   ====================================================================== */
@media screen and (max-width: 1140px) {
  .scroll-indicator { padding: 0 24px; }
  .svc-row__media { height: 400px; }
  .svc-card h3 { font-size: 40px; }
  .feature img { height: 320px; }
  .message__text h3 { font-size: 16px; }
  .contact-card__lead { font-size: 16px; }
}

/* ======================================================================
   <=840px — tablet: hamburger menu, 24px gutters, stacked photo blocks
   ====================================================================== */
@media screen and (max-width: 840px) {
  .site-header { padding: 24px; }
  .brand-name { font-size: 16px; }
  .global-nav { display: none; }
  .menu-button { display: flex; }

  .body-text { font-size: 14px; }
  .sec { padding: 96px 24px; }
  .sec-title { font-size: 48px; }
  .sec-sub { font-size: 24px; }

  .home-hero__inner { padding: 144px 48px 96px; }
  .scroll-indicator span { font-size: 12px; }
  .what-we-do h2 { font-size: 48px; }
  .what-we-do p { width: 80%; }

  .svc-row__media { height: 320px; }
  .svc-row__text h3 { font-size: 28px; margin-bottom: 48px; }
  .svc-row__text p { margin-bottom: 24px; }

  .cta-band { padding: 48px; }
  .cta-band__title { font-size: 24px; }

  .post-card { width: calc(50% - 24px); }
  .card-grid--home .post-card { margin-bottom: 24px; }
  .post-card__title { font-size: 14px; }

  .home-careers { padding: 0 24px 192px; }
  .careers-row { flex-direction: column-reverse; align-items: flex-end; }
  .careers-row__text { width: 100%; margin-right: 0; padding: 0 24px; }
  .careers-row__text h2 { margin-bottom: 48px; }
  .careers-row__media { width: 100%; height: 400px; margin-bottom: 96px; }

  .sub-hero .sub-hero__title { font-size: 64px; }
  .sub-hero p:not(.sub-hero__title) { font-size: 24px; }

  .mission { padding: 96px 24px; }
  .mission .body-text { width: 80%; }
  .values { padding: 96px 24px; }
  .values .sec-sub { margin-bottom: 24px; }
  .value-card { width: calc(90% - 48px); padding: 24px; }
  .value-card h3 { font-size: 28px; }
  .value-card p { font-size: 12px; }
  .about, .message { padding: 0 24px 192px; }
  .about__row, .message__row { flex-direction: column-reverse; align-items: flex-end; }
  .about__text, .message__text { width: 100%; margin-right: 0; padding: 0 24px; }
  .about dl div { font-size: 14px; }
  .about__media, .message__media { width: 100%; height: 400px; margin: 0 0 96px; }
  .message__text h3 { font-size: 14px; }

  .our-service { padding: 96px 24px; }
  .wrap--inset { padding-left: 0; padding-right: 0; }
  .svc-card, .svc-card:last-child { margin-bottom: 48px; padding: 48px; }
  .svc-card h3 { font-size: 32px; margin-bottom: 48px; }
  .feature { margin-bottom: 48px; }
  .feature img { height: 280px; }
  .feature__text { width: calc(40% - 24px); margin-left: 24px; }
  .feature--reverse .feature__text { margin-left: 0; margin-right: 24px; }
  .feature__num { font-size: 16px; }
  .feature__text h4 { font-size: 18px; }
  .feature__text p { margin-bottom: 24px; }
  .feature__text p.feature__num { margin-bottom: 12px; }
  .svc-card--consulting .feature__text p:not(.feature__num) { margin-bottom: 0; }

  .list-sec { padding: 96px 24px; }
  .list-sec h2 { font-size: 32px; }
  .back-link { font-size: 12px; }
  .cat-wrap { padding: 24px; }
  .cat-links { font-size: 12px; }

  .post-sec { padding: 96px 24px; }
  .post-date { font-size: 12px; }
  .post-title { font-size: 24px; }
  .post-body { margin-bottom: 48px; padding: 48px; }

  .contact-sec { padding: 96px 24px; }
  .contact-card { margin-bottom: 48px; padding: 48px; }
  .contact-card h2 { font-size: 18px; }
  .contact-card__lead { font-size: 14px; }

  .privacy-sec { padding: 96px 24px; }
  .privacy-card { margin-bottom: 48px; padding: 48px; }

  .footer-cards { flex-direction: column; }
  .footer-card { width: 100%; height: 153px; margin-bottom: 48px; padding: 24px; }
  .footer-card:last-child { margin-bottom: 0; }
  .footer-card__title { font-size: 28px; margin-bottom: 12px; }
  .footer-card__sub { font-size: 14px; }
  .footer-card .icon { width: 32px; height: 32px; }
  .footer-bottom { flex-direction: column; margin-bottom: 24px; }
  .footer-brand { margin: 0 24px 24px 0; }
}

/* ======================================================================
   <=540px — phone (values measured at 390px)
   ====================================================================== */
@media screen and (max-width: 540px) {
  .site-header { padding: 24px 24px 24px 0; }
  .brand img { width: 60px; height: 60px; }

  .body-text { font-size: 12px; }
  .btn { font-size: 12px; }
  .sec-title { font-size: 28px; }
  .sec-sub { font-size: 18px; }
  .view-more { font-size: 12px; }

  .home-hero__inner { padding: 144px 48px 48px; }
  .home-hero__eyebrow { font-size: 20px; }
  .home-hero__title { font-size: 40px; }
  .scroll-indicator { padding: 0 12px; }
  .scroll-indicator span { font-size: 10px; }
  .what-we-do { padding: 96px 0; }
  .what-we-do .wrap { padding: 0 24px; }
  .what-we-do h2 { font-size: 32px; }
  .what-we-do p { width: 100%; }

  .home-service .sec-head { margin-bottom: 48px; }
  .svc-row, .svc-row--reverse { flex-direction: column; }
  .svc-row__media { width: 100%; height: 240px; margin-bottom: 48px; }
  .svc-row__text, .svc-row--reverse .svc-row__text { width: 100%; margin: 0; }
  .svc-row__text h3 { font-size: 24px; margin-bottom: 24px; }
  /* texts that stop at 14px on the live site (no 540px override) */
  .svc-row__text p, .careers-row__text p, .feature__text p:not(.feature__num), .svc-card__lead, .message__text .body-text { font-size: 14px; }

  .cta-band { padding: 48px 24px; }
  .cta-band__row { flex-direction: column; }
  .cta-band__text { width: 100%; flex: none; margin: 0 0 24px; }
  .cta-band__title { font-size: 20px; }
  .cta-band__lead { font-size: 14px; }
  .cta-band--post { padding: 48px 24px; }
  .cta-band--post > .body-text { font-size: 14px; }

  .post-card, .card-grid--home .post-card { width: 100%; margin: 0 0 30px; }

  .home-careers { padding: 0 24px 96px; }
  .careers-row__text h2 { margin-bottom: 24px; }
  .careers-row__media { height: 240px; margin-bottom: 48px; }

  .sub-hero { padding: 96px 0; }
  .sub-hero__inner { padding: 0 24px; }
  .sub-hero .sub-hero__title { font-size: 40px; margin-bottom: 12px; }
  .sub-hero p:not(.sub-hero__title) { font-size: 18px; }

  .mission { padding: 48px 24px; }
  .mission .body-text { width: 100%; font-size: 12px; }
  .value-card { width: 100%; margin: 0 0 24px; }
  .value-card:last-child { margin-bottom: 0; }
  .about, .message { padding: 96px 24px; }
  .about__media, .message__media { height: 240px; }

  .our-service { padding: 48px 24px; }
  .our-service .sec-sub { text-align: left; }
  .svc-card, .svc-card:last-child { padding: 48px 24px; }
  .svc-card h3 { font-size: 24px; margin-bottom: 24px; }
  .svc-card__lead { text-align: left; }
  .feature, .feature--reverse { flex-direction: column; }
  .feature img { width: 100%; height: 200px; margin-bottom: 24px; }
  .feature__text, .feature--reverse .feature__text { width: 100%; margin: 0; }
  .svc-card__actions { flex-direction: column; align-items: center; gap: 20px; }

  .list-sec { padding: 48px 24px; }
  .list-sec h2 { font-size: 24px; }
  .cat-wrap { margin-bottom: 0; padding: 24px 0; }

  .post-sec { padding: 48px 24px; }
  .post-title { font-size: 20px; }
  .post-body { padding: 24px 24px 48px; }
  .rich > p, .rich li { font-size: 14px; }
  .rich > h2 { font-size: 18px; }

  .contact-sec { padding: 48px 24px; }
  .contact-card { padding: 48px 24px; }
  .contact-card h2 { font-size: 16px; }
  .contact-card__lead { font-size: 12px; text-align: left; }
  .cform__label { font-size: 14px; }
  .cform legend.cform__label { font-size: 16px; }

  .privacy-sec { padding: 48px 24px; }
  .privacy-card { padding: 48px 24px; }

  .breadcrumb__inner { padding: 0 24px; }
  .breadcrumb .icon { margin: 0 6px; }

  .footer-cards, .footer-bottom { padding: 0 24px; }
  .footer-card__sub { font-size: 12px; }
  .footer-bottom { margin-bottom: 48px; }
  .footer-brand { margin: 0 24px 48px 0; }
  .footer-nav { flex-direction: column; align-items: flex-start; }
  .footer-nav a { padding: 0; margin-bottom: 24px; }
  .footer-privacy { padding: 0; margin-right: 24px; }
  .footer-copy { width: 100%; padding: 0 24px; text-align: left; }
}

/* <=320px (live site values) */
@media screen and (max-width: 320px) {
  .home-hero__eyebrow { font-size: 14px; }
  .home-hero__title { font-size: 28px; }
  .svc-card, .svc-card:last-child, .post-body, .contact-card, .privacy-card { padding-left: 12px; padding-right: 12px; }
}
