/* Chori Holdings Corp — static site
   Palette grounded in the brand's blue growth-arrow and glass-tower imagery:
   cool navy + architectural azure, deliberately not a warm/default theme. */

:root {
  --ink:        #17293b; /* glass-tower navy — primary text */
  --ink-soft:   #33465a; /* secondary text */
  --muted:      #566069; /* small labels / meta (AA on white) */
  --paper:      #ffffff;
  --mist:       #eef3f7; /* cool section tint */
  --azure:      #3792cf; /* brand accent (sampled from logo arrow) */
  --azure-deep: #1c5f94; /* accessible links / interactive */
  --steel:      #7c858e;
  --hairline:   #dde5ec;

  --maxw: 1120px;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--azure-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; border-radius: 2px; }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Layout container */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand span {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: .01em;
  color: var(--ink);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.nav a { color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--azure-deep); text-decoration: none; }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 2px solid var(--azure);
  padding-bottom: 2px;
}

.icon-link { display: inline-flex; align-items: center; color: var(--ink-soft); }
.icon-link:hover { color: var(--azure-deep); }
.icon-link svg { width: 20px; height: 20px; fill: currentColor; display: block; }

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(3.5rem, 10vw, 7rem); }
.accent { width: 54px; height: 3px; background: var(--azure); border: 0; margin: 0 0 2rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--ink);
  max-width: 20ch;
  margin: 0;
}

/* ---------- Full-bleed image band ---------- */
.band { width: 100%; }
.band img {
  width: 100%;
  height: clamp(260px, 42vh, 520px);
  object-fit: cover;
  object-position: center;
}

/* ---------- Page hero (about) ---------- */
.page-hero { padding-block: clamp(3rem, 8vw, 5.5rem); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--ink);
  margin: 0;
}
.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 1.5rem 0 0;
}

/* ---------- Contact ---------- */
.contact { background: var(--mist); border-top: 1px solid var(--hairline); }
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-block: clamp(3rem, 8vw, 5rem);
}
@media (min-width: 720px) {
  .contact-inner {
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
  }
}
.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  color: var(--ink);
  margin: 0;
}
.details { display: grid; gap: 1.75rem; }
.details .label { color: var(--muted); font-size: .9rem; margin: 0 0 .35rem; }
.details address { font-style: normal; line-height: 1.8; color: var(--ink-soft); font-size: 1.0625rem; }
.details a { color: var(--azure-deep); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb0c1; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
}
.site-footer .copy { font-size: .9rem; color: #8396aa; margin: 0; }
.site-footer .social { display: inline-flex; align-items: center; gap: .5rem; color: #cdd8e4; }
.site-footer .social:hover { color: #fff; text-decoration: none; }
.site-footer .social svg { width: 18px; height: 18px; fill: currentColor; display: block; }

/* ---------- Motion: one restrained hero entrance ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: fade-up .7s ease both; }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .header-inner { gap: .75rem; }
  .brand span { font-size: 1.05rem; }
  .nav { gap: 1rem; }
  .nav a { font-size: .9rem; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
}
