/* ZEN Architects English site. Plain CSS, no build step, system fonts only. */
:root {
  --bg: #0d1526;
  --surface: #182233;
  --line: #27344a;
  --accent: #38bdf8;
  --accent-ink: #0d1526;
  --gold: #fbbf24;
  --green: #2dd4a0;
  --red: #ff8a8a;
  --text: #ffffff;
  --muted: #b4bccb;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: #7dd3fc; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--gold); color: #000; padding: .5rem 1rem; text-decoration: none; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

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

h1, h2, h3 { line-height: 1.25; margin: 0 0 .75rem; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); max-width: 24ch; }
h1 span { display: inline-block; } /* keep each beat of the tagline on one line */
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; }

.eyebrow { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.sub { color: var(--accent); font-size: .95rem; margin-bottom: .5rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.gold { color: var(--gold); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.brand { display: inline-block; }
.brand img { height: 22px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; font-size: .95rem; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
.site-nav .lang { border: 1px solid var(--accent); border-radius: 999px; padding: .15rem .8rem; color: var(--accent); }

/* Sections */
.hero { padding: 4rem 0 3.5rem; }
.section { padding: 3.5rem 0; border-top: 1px solid var(--line); }

.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
.cards > * { min-width: 0; } /* grid items default to min-width:auto, so wide content could stretch a 1fr track past the viewport */
@media (min-width: 720px) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.card h3 { padding-left: .75rem; border-left: 4px solid var(--accent); font-size: 1.25rem; }
.card > :last-child { margin-bottom: 0; }
.card.wide { margin-bottom: 2.5rem; }

/* min(…, 100%) keeps the global img max-width in force: a bare px value here would override it and let the badge widen its grid track past narrow viewports (observed at 320-360 px). */
.badge { display: block; border-radius: 8px; max-width: min(220px, 100%); margin: 1rem auto 0; } /* centered in the card */
.badge-wide { max-width: min(300px, 100%); }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: .25rem .65rem; font-size: .85rem; font-weight: 600; }

/* Recognition */
.award { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 720px) { .award { grid-template-columns: 1fr 260px; } }
.award .badge { max-width: min(260px, 100%); margin: 0; }
.check { color: var(--green); }
.check::before { content: "\2713\00a0"; }
.finalist { border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; margin: 0; }

/* Approach */
.points { list-style: none; counter-reset: pt; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .points { grid-template-columns: 1fr 1fr; } }
.points li { counter-increment: pt; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem 1.5rem 1.5rem 4.5rem; }
.points li::before { content: counter(pt, decimal-leading-zero); position: absolute; left: 1.25rem; top: 1.1rem; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--accent); opacity: .7; }
.points p:last-child { margin: 0; }
.notice { border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1.25rem; }
.notice-title { color: var(--red); font-weight: 700; margin-bottom: .35rem; }
.notice p:last-child { margin: 0; }

/* Technical coverage */
.experts { margin-top: .5rem; }

/* Services */
.flow-note { text-align: center; color: var(--muted); font-size: .9rem; margin: -.25rem 0 1.25rem; }
.phases { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 1rem; }
@media (min-width: 720px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phases li { border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 12px 12px; padding: 1.25rem; }
.phases li:first-child { border-top-color: #a78bfa; }
.phases li:last-child { border-top-color: #2dd4bf; }
.phase { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.phases strong { display: block; font-size: 1.1rem; margin: .25rem 0 .5rem; }
.phases p { margin: 0; color: var(--muted); }
.goal { font-weight: 600; color: var(--gold); }
.venue { color: var(--muted); margin: 0; }

/* Company */
.profile { display: grid; grid-template-columns: 1fr; gap: .25rem 1rem; margin: 0; }
@media (min-width: 560px) { .profile { grid-template-columns: max-content 1fr; } }
.profile dt { color: var(--muted); font-weight: 600; padding: .5rem .75rem; background: var(--surface); border-radius: 6px; }
.profile dd { margin: 0; padding: .5rem .75rem; }

/* Contact */
.contact { text-align: center; }
.button {
  display: inline-block; margin: .5rem 0 1rem; padding: .75rem 1.5rem;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: clamp(1.2rem, 3vw, 1.6rem);
  border-radius: 10px; text-decoration: none; word-break: break-all;
}
.button:hover { background: #7dd3fc; color: var(--accent-ink); }
.reply { color: var(--muted); }
.note { display: inline-block; border: 1px solid var(--line); border-radius: 8px; padding: .75rem 1rem; margin: 0; }

/* Footer */
.site-footer { background: #000; color: rgba(255, 255, 255, .85); padding: 2rem 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-links a { color: rgba(255, 255, 255, .85); }
.footer-links a:hover { color: #fff; }
.copyright { margin: 0; font-size: .75rem; font-weight: 300; }
