/* OrniGo Ι.Κ.Ε. — "sunrise over the Thessalian plain"
   forest (brand), yolk/amber (logo egg), shell (logo circle), sage (Pindos haze) */

:root {
  --forest: #24413A;
  --forest-deep: #142A24;
  --forest-mid: #2F5A47;
  --sage: #A9B79A;
  --yolk: #F4B942;
  --amber: #E28B1F;
  --shell: #FBF3E1;
  --paper: #FFFBF2;
  --ink-soft: #4E5D55;
  --line: rgba(20, 42, 36, .14);
  --pad: clamp(20px, 4.5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-variation-settings: "FLAR" 0, "VOLM" 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--forest-deep);
  background: var(--shell);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--yolk); color: var(--forest-deep); }
:focus-visible { outline: 2.5px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Type: flared Commissioner for display ---------- */
h1, h2, h3, h4, .flare {
  font-variation-settings: "FLAR" 100, "VOLM" 40;
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -.015em;
}
.h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); letter-spacing: -.025em; line-height: 1.02; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.h3 { font-size: 1.35rem; line-height: 1.2; }
.kicker { display: block; font-weight: 600; font-size: .98rem; color: var(--forest-mid); margin-bottom: 14px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.soft { color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 243, 225, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 54px; height: auto; }
.word { font-variation-settings: "FLAR" 100, "VOLM" 40; font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; color: var(--forest); line-height: 1; }
.word span { color: var(--amber); }

.navlinks { display: flex; align-items: center; gap: 4px; }
.navlinks a { text-decoration: none; font-size: .93rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.navlinks a:hover { background: rgba(36, 65, 58, .08); }
.navlinks a[aria-current="page"] { background: var(--forest); color: var(--shell); }
.navlinks .cta { background: var(--yolk); color: var(--forest-deep); margin-left: 8px; font-weight: 650; }
.navlinks .cta:hover { background: #F7C766; }
.navlinks .cta[aria-current="page"] { background: var(--forest); color: var(--shell); }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--forest); cursor: pointer; place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--shell); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 650; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  background: var(--forest); color: var(--shell); border: 2px solid var(--forest); transition: background .2s, color .2s;
}
.btn:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: var(--shell); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Home hero: sunrise ---------- */
.hero { position: relative; overflow: hidden; min-height: clamp(560px, 82vh, 860px); background: #FBE9C2; isolation: isolate; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .wrap { position: relative; padding-top: clamp(40px, 7vh, 80px); }
.facts-inline { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 26px; font-size: .9rem; }
.facts-inline div { display: flex; gap: 8px; align-items: baseline; }
.facts-inline dt { color: var(--ink-soft); }
.facts-inline dd { font-weight: 650; }
.hero .h1 { max-width: 13ch; }

.stamp { position: absolute; right: var(--pad); top: clamp(40px, 7vh, 80px); width: clamp(110px, 12vw, 150px); transform: rotate(-10deg); color: var(--forest); opacity: .88; }
.stamp text { fill: currentColor; font-family: 'Commissioner', sans-serif; }

@keyframes rise { from { transform: translateY(170px); } }
@keyframes warm { from { opacity: 0; } }
.sun { animation: rise 2.6s var(--ease) both .15s; }
.glow { animation: warm 2.6s ease both .15s; }
@media (prefers-reduced-motion: reduce) { .sun, .glow { animation: none; } }

.intro { padding: clamp(48px, 7vw, 88px) 0; }
.intro .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 64px; align-items: end; }
.intro .btns { justify-content: flex-end; }

/* ---------- Sub-page heads with landscape strip ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-head .h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 18ch; }
.page-head .lede { margin-top: 20px; }
.strip { display: block; width: 100%; height: clamp(90px, 11vw, 150px); }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding-top: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.panel { background: var(--forest); color: var(--shell); border-radius: 32px; padding: clamp(28px, 4vw, 44px); }
.panel h2, .panel h3 { color: var(--shell); }
.panel > p { color: #D6DDCF; margin-top: 14px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(251, 243, 225, .2); }
.stat .n { display: block; font-variation-settings: "FLAR" 100, "VOLM" 40; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--yolk); line-height: 1.05; }
.stat .l { display: block; font-size: .9rem; color: #D6DDCF; margin-top: 6px; line-height: 1.4; }
.copy p { color: var(--ink-soft); max-width: 62ch; }
.copy p + p { margin-top: 1em; }
.copy strong { color: var(--forest-deep); }
.copy .h2 { margin-bottom: 22px; }

/* ---------- Activities ---------- */
.acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.act { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 30px 28px 28px; display: flex; flex-direction: column; }
.egg-badge { width: 72px; height: 90px; margin-bottom: 22px; }
.act h2 { font-size: 1.4rem; line-height: 1.2; }
.act p { color: var(--ink-soft); margin: 12px 0 22px; }
.kad { margin-top: auto; align-self: flex-start; font-size: .82rem; font-weight: 600; color: var(--forest); background: rgba(244, 185, 66, .28); padding: 6px 12px; border-radius: 999px; }
.act.energy { background: var(--forest); color: var(--shell); border-color: var(--forest); }
.act.energy p { color: #D6DDCF; }
.act.energy .kad { background: rgba(244, 185, 66, .2); color: var(--yolk); }

/* ---------- Registry certificate ---------- */
.cert { background: var(--paper); border: 2px solid var(--forest); border-radius: 6px; outline: 1px solid var(--forest); outline-offset: -10px; padding: clamp(28px, 5vw, 56px); position: relative; }
.cert-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px dashed rgba(36, 65, 58, .4); margin-bottom: 28px; }
.cert-top .word { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cert-top .word small { font-size: .6em; color: var(--forest); }
.cert-stamp { text-align: right; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.cert-stamp strong { display: block; color: var(--forest); font-size: 1rem; }
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 32px; }
.cert-grid dt { font-size: .85rem; color: var(--ink-soft); }
.cert-grid dd { font-weight: 650; font-size: 1.05rem; }
.cert-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding-top: 24px; border-top: 1px dashed rgba(36, 65, 58, .4); color: var(--ink-soft); font-size: .95rem; }
.cert-note svg { width: 26px; flex: none; color: var(--forest); }

/* ---------- Governance ---------- */
.gov-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.block { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 4vw, 40px); }
.block .h3 { margin-bottom: 22px; }
.rep { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.rep-egg { width: 62px; height: 78px; flex: none; }
.rep .name { font-weight: 700; font-size: 1.15rem; }
.rep .role { color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
.cap { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: center; }
.cap-egg { width: 100%; height: auto; }
.cap-list { list-style: none; }
.cap-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cap-list li:first-child { padding-top: 0; }
.swatch { width: 14px; height: 18px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.cap-list .pct { font-weight: 750; font-variant-numeric: tabular-nums; }
.cap-note { margin-top: 20px; font-size: .92rem; color: var(--ink-soft); }
.cap-note strong { color: var(--forest-deep); }

.band { background: var(--forest); color: var(--shell); }
.band .h2 { color: var(--shell); }
.band .lede { color: #D6DDCF; }
.band .kicker { color: var(--yolk); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid rgba(251, 243, 225, .2); }
.trust div { padding: 26px 24px 8px 0; }
.trust div + div { padding-left: 24px; border-left: 1px solid rgba(251, 243, 225, .2); }
.trust .n { display: block; font-variation-settings: "FLAR" 100, "VOLM" 40; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--yolk); line-height: 1.1; }
.trust .l { display: block; color: #D6DDCF; font-size: .95rem; margin-top: 8px; line-height: 1.45; }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.loc-lines { margin-top: 28px; }
.loc-line { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.loc-line svg { width: 24px; flex: none; color: var(--amber); margin-top: 2px; }
.loc-line .t { font-size: .88rem; color: var(--ink-soft); }
.loc-line .d { font-weight: 600; }
.loc-line a { text-decoration-color: var(--amber); text-underline-offset: 3px; }
.map { border-radius: 32px; overflow: hidden; border: 2px solid var(--forest); min-height: 440px; display: flex; background: #E9E4D2; }
.map iframe { flex: 1; border: 0; min-height: 440px; filter: sepia(.15) saturate(.85); }

/* ---------- Contact ---------- */
.contact { background: var(--forest); color: var(--shell); padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
main.contact { display: flex; align-items: center; }
main.contact > .wrap { width: 100%; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.contact .kicker { color: var(--yolk); }
.contact h1 { color: var(--shell); font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.contact p { color: #D6DDCF; margin-top: 20px; max-width: 52ch; font-size: 1.1rem; }
.contact-box { background: var(--shell); color: var(--forest-deep); border-radius: 28px; padding: 10px 28px; }
.contact-box div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-box div:last-child { border-bottom: 0; }
.contact-box dt { color: var(--ink-soft); }
.contact-box dd { font-weight: 700; text-align: right; }
.contact-box a { text-decoration-color: var(--amber); text-underline-offset: 3px; }
.contact-sun { position: absolute; right: -120px; bottom: -220px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--yolk), var(--amber)); opacity: .9; z-index: 0; }
.contact .wrap { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: #C9D2C4; font-size: .93rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 48px; padding: clamp(48px, 6vw, 72px) 0 40px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand svg { width: 48px; }
.foot-brand .word { color: var(--shell); }
.site-footer h2 { font-size: 1rem; color: var(--shell); margin-bottom: 12px; letter-spacing: 0; }
.foot-col a, .foot-col p { display: block; text-decoration: none; padding: 3px 0; }
.foot-col a:hover { color: var(--shell); text-decoration: underline; text-underline-offset: 3px; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 22px 0; border-top: 1px solid rgba(251, 243, 225, .14); font-size: .86rem; }
.legal b { color: var(--shell); font-weight: 600; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0 30px; border-top: 1px solid rgba(251, 243, 225, .14); font-size: .82rem; color: #9FAD9C; }
.site-footer :focus-visible { outline-color: var(--yolk); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .burger { display: grid; }
  .navlinks {
    position: fixed; top: 78px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--shell); padding: 16px var(--pad) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .25s var(--ease), opacity .2s, visibility .2s;
  }
  .navlinks.open { transform: none; opacity: 1; visibility: visible; }
  .navlinks a { padding: 12px 16px; font-size: 1.05rem; }
  .navlinks .cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 900px) {
  .intro .wrap, .about-grid, .gov-grid, .loc-grid, .contact .wrap { grid-template-columns: 1fr; }
  .intro .btns { justify-content: flex-start; }
  .acts { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust div:nth-child(3) { padding-left: 0; border-left: 0; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > div:first-child { grid-column: 1 / -1; }
  .stamp { display: none; }
}

@media (max-width: 560px) {
  .cert-top { flex-direction: column; }
  .cert-stamp { text-align: left; }
  .cert-grid { grid-template-columns: 1fr; }
  .cap { grid-template-columns: 1fr; }
  .cap-egg { width: 140px; }
  .trust { grid-template-columns: 1fr; }
  .trust div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(251, 243, 225, .2); }
  .foot-top { grid-template-columns: 1fr; }
  .contact-box div { flex-direction: column; gap: 2px; }
  .contact-box dd { text-align: left; }
  .facts-inline { gap: 6px 20px; }
}
