/* KORA Website — second-pass production styles
   Dependency-free. Edit the website palette in :root.
   Supplied logo colors are preserved inside the image assets and are not used to redefine the site palette. */
:root {
  --navy: #1B2A4A;
  --navy-2: #24385F;
  --navy-deep: #111C32;
  --paper: #F5F6F8;
  --paper-2: #EEF1F5;
  --ink: #182033;
  --muted: #536078;
  --line: #D7DDE7;
  --orange: #CB6700;
  --white: #FFFFFF;
  --max: 1210px;
  --radius: 8px;
  --shadow: 0 14px 38px rgba(15, 29, 55, .07);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, Cambria, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.62; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
section, main { scroll-margin-top: 92px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: rgba(200, 98, 45, .2); }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-170%); background: var(--white); color: var(--navy); padding: .68rem 1rem; border-radius: 4px; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.container { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 44px), 820px); margin-inline: auto; }
.eyebrow { margin: 0 0 .85rem; color: var(--navy); text-transform: uppercase; font-size: .74rem; letter-spacing: .17em; font-weight: 780; display: flex; align-items: center; gap: .65rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; flex: 0 0 auto; background: var(--orange); }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .contact-band .eyebrow { color: var(--white); }
.display { margin: 0; max-width: 13.5ch; font-family: var(--serif); font-size: clamp(2.8rem, 5.85vw, 5.25rem); line-height: .99; letter-spacing: -.044em; font-weight: 500; }
.page-title { margin: 0; max-width: 18ch; font-family: var(--serif); font-size: clamp(2.35rem, 4.8vw, 4.25rem); line-height: 1.03; letter-spacing: -.036em; font-weight: 500; }
.section-title { margin: 0; max-width: 22ch; font-family: var(--serif); font-size: clamp(2.05rem, 3.7vw, 3.3rem); line-height: 1.08; letter-spacing: -.026em; font-weight: 500; }
.lead { max-width: 66ch; font-size: clamp(1.04rem, 1.75vw, 1.24rem); color: var(--muted); }
.lead-light { color: rgba(255,255,255,.8); }
.small { font-size: .9rem; color: var(--muted); }
.rule { width: 52px; height: 3px; background: var(--orange); margin: 1.25rem 0; }

/* Header and bilingual navigation */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(245,246,248,.965); border-bottom: 1px solid rgba(27,42,74,.11); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 158px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.35rem; }
.nav a { position: relative; text-decoration: none; font-size: .9rem; font-weight: 650; color: var(--navy); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--orange); transition: right .2s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.locale-switch { display: inline-flex; align-items: stretch; border: 1px solid #C7CFDA; border-radius: 4px; overflow: hidden; flex: 0 0 auto; }
.locale-switch a, .locale-switch span { min-width: 34px; padding: .44rem .5rem; display: inline-grid; place-items: center; text-decoration: none; color: var(--navy); background: var(--paper); font-size: .71rem; font-weight: 800; line-height: 1; }
.locale-switch a + a, .locale-switch span + a, .locale-switch a + span { border-left: 1px solid #C7CFDA; }
.locale-switch [aria-current="true"] { background: var(--navy); color: var(--white); }
.locale-switch a:hover { background: var(--paper-2); }
.menu-button { display: none; margin-left: auto; width: 46px; height: 42px; padding: 10px; border: 1px solid var(--line); background: transparent; border-radius: 6px; cursor: pointer; }
.menu-button span { display: block; height: 2px; background: var(--navy); margin: 5px 0; }

/* Homepage hero */
.hero { position: relative; background: var(--navy); color: var(--white); padding: clamp(4.75rem, 7.2vw, 7.1rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); gap: clamp(2.75rem, 6vw, 6.4rem); align-items: center; }
.hero .display { color: var(--white); }
.hero-copy .lead { color: rgba(255,255,255,.79); margin: 1.55rem 0 0; }
.hero-visual { position: relative; width: 100%; max-width: 680px; justify-self: stretch; margin: 0; }
.hero-visual img { width: 100%; filter: drop-shadow(0 20px 46px rgba(0,0,0,.18)); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.12rem; text-decoration: none; border: 1px solid transparent; border-radius: 3px; font-size: .88rem; font-weight: 760; letter-spacing: .01em; transition: transform .18s ease, background .18s ease, border-color .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: var(--navy); border-left: 4px solid var(--orange); }
.btn-secondary { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-secondary:hover { border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-outline { color: var(--navy); border-color: var(--navy); }

/* Shared sections */
.section { padding: clamp(4.8rem, 7.4vw, 7.2rem) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2.2rem; margin-bottom: clamp(2.35rem, 4.8vw, 4.1rem); }
.section-head .lead { margin: 0; max-width: 49ch; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 6vw, 6rem); align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.four-col { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.process-figure, .architecture-figure { margin: 0; }
.process-figure picture, .architecture-figure picture { display: block; }
.process-figure img, .architecture-figure img { width: 100%; }
.process-figure { max-width: 1050px; margin-inline: auto; }
.pillar-copy { margin-top: 2rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.pillar-copy article { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.pillar-copy h3 { color: var(--navy); font-size: .98rem; text-transform: uppercase; letter-spacing: .09em; margin: 0 0 .65rem; }
.pillar-copy p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Balanced 3 + 2 sector grid on wide screens */
.sector-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 1rem; }
.sector-card { grid-column: span 2; min-height: 240px; background: var(--white); padding: 1.45rem; border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.sector-card:nth-child(4) { grid-column: 2 / span 2; }
.sector-card:nth-child(5) { grid-column: 4 / span 2; }
.sector-card img { width: 54px; height: 54px; margin-bottom: 1.55rem; }
.sector-card h3 { margin: 0 0 .65rem; font-size: 1.06rem; color: var(--navy); }
.sector-card p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (hover:hover) { .sector-card:hover { transform: translateY(-3px); border-color: #BEC7D5; box-shadow: 0 10px 26px rgba(15,29,55,.05); } }
.focus-line { margin: 2.2rem 0 0; max-width: 78ch; padding-left: 1rem; border-left: 3px solid var(--orange); font-weight: 680; color: var(--navy); }

.standards { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.standard { padding: 2rem 1.45rem; border-right: 1px solid rgba(255,255,255,.18); }
.standard:last-child { border-right: 0; }
.standard-num { color: var(--white); font-size: .74rem; letter-spacing: .12em; font-weight: 800; border-top: 2px solid var(--orange); padding-top: .4rem; }
.standard h3 { font-family: var(--serif); font-size: 1.38rem; font-weight: 500; line-height: 1.2; margin: .7rem 0; }
.standard p { margin: 0; color: rgba(255,255,255,.7); font-size: .91rem; }

/* Contact band uses the supplied K-only mark as a restrained watermark. */
.contact-band { position: relative; background: var(--navy); color: var(--white); padding: clamp(4.8rem, 7.4vw, 7rem) 0; overflow: hidden; }
.contact-band::before { content: ""; position: absolute; width: 360px; aspect-ratio: 320 / 375; right: max(2vw, 18px); bottom: -110px; background: url('/assets/brand/kora-k-mark-reversed.png') center/contain no-repeat; opacity: .032; pointer-events: none; }
.contact-band > .container { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.6rem, 7vw, 7rem); align-items: start; }
.contact-details { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: .35rem; }
.contact-details a { color: var(--white); text-underline-offset: 4px; }
.contact-form { background: var(--white); color: var(--ink); border-radius: 7px; padding: clamp(1.45rem, 4vw, 2.45rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field-full { grid-column: 1/-1; }
label { color: var(--navy); font-size: .82rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #BFC8D7; background: #fff; color: var(--ink); border-radius: 4px; padding: .79rem .86rem; }
textarea { min-height: 138px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); margin: .85rem 0 0; }
.form-status { margin-top: 1rem; padding: .8rem; border-left: 3px solid var(--orange); background: var(--paper-2); color: var(--navy); }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Internal pages */
.page-hero { position: relative; background: var(--navy); color: var(--white); padding: clamp(3.9rem, 6.8vw, 6.45rem) 0; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 300px; aspect-ratio: 320 / 375; right: max(2vw, 20px); top: 50%; transform: translateY(-48%); background: url('/assets/brand/kora-k-mark-reversed.png') center/contain no-repeat; opacity: .024; pointer-events: none; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .page-title { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,.78); margin-bottom: 0; }
.breadcrumb { margin-bottom: 1.7rem; font-size: .84rem; color: rgba(255,255,255,.66); }
.breadcrumb a { text-underline-offset: 4px; }
.intro-panel { position: relative; background: var(--white); border: 1px solid var(--line); padding: clamp(1.6rem,4vw,2.75rem); border-radius: 6px; box-shadow: var(--shadow); }
.intro-panel p:first-child { margin-top: 0; }
.intro-panel p:last-child { margin-bottom: 0; }
.brand-panel { overflow: hidden; }
.brand-panel::after { content: ""; position: absolute; width: 220px; aspect-ratio: 320 / 375; right: -68px; bottom: -94px; background: url('/assets/brand/kora-k-mark-color.png') center/contain no-repeat; opacity: .025; pointer-events: none; }
.brand-panel > * { position: relative; z-index: 1; }
.definition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.definition-card { background: var(--paper-2); padding: 1.45rem; border-top: 3px solid var(--navy); }
.definition-card h3 { margin: 0 0 .8rem; color: var(--navy); }
.definition-card ul { padding-left: 1.2rem; margin: 0; }
.definition-card li + li { margin-top: .45rem; }
.definition-card.negative { border-top-color: var(--orange); }
.capability-list { display: grid; gap: .85rem; }
.capability { display: grid; grid-template-columns: 72px 1fr; gap: 1.2rem; background: var(--white); border: 1px solid var(--line); padding: 1.45rem; border-radius: 6px; }
.capability-num { color: var(--orange); font-family: var(--serif); font-size: 2rem; }
.capability h3 { margin: 0 0 .5rem; color: var(--navy); }
.capability p { margin: 0; color: var(--muted); }
.sector-detail { display: grid; grid-template-columns: 100px 1fr; gap: 1.6rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.sector-detail img { width: 70px; }
.sector-detail h2 { margin: 0 0 .5rem; color: var(--navy); font-size: 1.38rem; }
.sector-detail p { margin: 0; color: var(--muted); }
.criteria-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.criteria { padding: 1.35rem; background: var(--white); border: 1px solid var(--line); }
.criteria h3 { margin: 0 0 .5rem; font-size: 1rem; color: var(--navy); }
.criteria p { margin: 0; color: var(--muted); font-size: .91rem; }
.method-steps { counter-reset: step; display: grid; gap: 0; }
.method-step { counter-increment: step; display: grid; grid-template-columns: 110px 1fr; gap: 1.65rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.method-step::before { content: "0" counter(step); color: var(--orange); font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.method-step h3 { margin: 0 0 .5rem; color: var(--navy); }
.method-step p { margin: 0; color: var(--muted); }
.legal-content h2 { margin-top: 2.5rem; color: var(--navy); }
.legal-content a { color: var(--navy); }
.placeholder { display: inline-block; background: #fff3ec; border: 1px solid #e7b398; color: #7b3314; padding: .1rem .35rem; border-radius: 3px; font-weight: 650; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.76); padding: 2.55rem 0; border-top: 2px solid var(--orange); }
.footer-inner { display: flex; gap: 2.2rem; align-items: center; justify-content: space-between; }
.footer-copy { margin: 0; max-width: 900px; font-size: .86rem; line-height: 1.62; }
.footer-copy a { color: var(--white); text-underline-offset: 3px; }
.footer-mark { width: 145px; height: auto; opacity: .98; flex: 0 0 auto; }

@media (max-width: 1080px) {
  .nav { gap: .82rem; }
  .nav a { font-size: .81rem; }
  .sector-grid { grid-template-columns: repeat(2,1fr); }
  .sector-card, .sector-card:nth-child(4), .sector-card:nth-child(5) { grid-column: auto; }
  .standards { grid-template-columns: repeat(2,1fr); }
  .standard:nth-child(2) { border-right: 0; }
  .standard:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .criteria-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .header-inner { min-height: 74px; gap: 12px; }
  .brand img { width: 136px; }
  .menu-button { display: block; }
  .locale-switch { margin-left: .35rem; }
  .nav { position: absolute; top: 74px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .8rem 22px 1.15rem; box-shadow: 0 20px 30px rgba(15,29,55,.12); }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .75rem 0; font-size: .97rem; }
  .nav a::after { bottom: 5px; }
  .hero-grid, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; justify-self: start; }
  .section-head { display: block; }
  .section-head .lead { margin-top: 1rem; }
  .pillar-copy { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .four-col { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 30px), var(--max)); }
  .brand img { width: 126px; }
  .locale-switch a, .locale-switch span { min-width: 31px; padding: .42rem .42rem; }
  .hero { padding-top: 3.8rem; }
  .display { font-size: clamp(2.55rem, 13vw, 4rem); }
  .page-hero::after { display: none; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-card { min-height: auto; }
  .standards, .four-col, .criteria-grid, .definition-grid, .form-grid { grid-template-columns: 1fr; }
  .standard { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .standard:last-child { border-bottom: 0; }
  .capability { grid-template-columns: 48px 1fr; }
  .sector-detail { grid-template-columns: 64px 1fr; }
  .sector-detail img { width: 54px; }
  .method-step { grid-template-columns: 54px 1fr; gap: .8rem; }
  .contact-band::before { width: 260px; right: -50px; bottom: -90px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-mark { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .menu-button, .actions, .contact-form { display: none !important; }
  body { background: white; color: black; }
  .hero, .page-hero, .section-dark, .contact-band, .site-footer { background: white !important; color: black !important; }
}


/* Context imagery — authentic regional photography used as contextual editorial support,
   not as claimed KORA projects or mandates. */
.visual-break { padding-top: 0; }
.editorial-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(290px,.92fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.editorial-copy .lead { margin-top: 0; }
.photo-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.photo-card picture, .photo-card img { display: block; width: 100%; }
.photo-card figcaption { padding: .85rem 1rem 1rem; font-size: .77rem; line-height: 1.45; color: var(--muted); background: rgba(255,255,255,.98); border-top: 1px solid rgba(24,32,51,.06); }
.caption-strong { color: var(--navy); font-weight: 700; }
.media-panel { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(290px,.88fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.media-panel.compact-copy { grid-template-columns: minmax(0,1.06fr) minmax(260px,.94fr); }
.media-panel .section-title { max-width: 15ch; }
.note-box { padding-left: 1rem; border-left: 3px solid var(--orange); }
.note-box p:last-child { margin-bottom: 0; }
.alt-surface { background: var(--paper-2); }
@media (max-width: 900px) {
  .editorial-grid, .media-panel, .media-panel.compact-copy { grid-template-columns: 1fr; }
}
