/* Kalon Management. Arcade: celadon ground, round-topped bays, one lime fill. */

:root {
  --celadon: #E1EEDD;
  --sage: #D2E4CD;
  --cream: #FBFDF3;
  --juniper: #12231C;
  --leaf: #1F5A3F;
  --moss: #3C4F45;
  --lime: #C9F03C;
  --rule: #B5CBB2;
  --mist: #C9D6C6;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --text: "Wix Madefor Text", "Segoe UI", system-ui, sans-serif;
  --arch: 999px 999px 0 0;
}

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

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

body {
  margin: 0;
  background: var(--celadon);
  color: var(--juniper);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-weight: 700; font-size: clamp(2.3rem, 6.2vw, 4.3rem); max-width: 17ch; }
h2 { font-weight: 600; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Every h2 stands next to a small arch. */
h2::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.72em;
  margin-right: 0.42em;
  border-radius: var(--arch);
  background: var(--lime);
  box-shadow: inset 0 0 0 2px var(--juniper);
}
.foot h2::before, .niche h2::before { content: none; }

a { color: var(--leaf); text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
a:hover { color: var(--juniper); text-decoration-thickness: 3px; }

:focus-visible {
  outline: 3px solid var(--juniper);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--lime);
}
main:focus { outline: none; box-shadow: none; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--juniper); color: var(--cream); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header: no band, straight on the ground. */
.head { border-bottom: 1.5px solid var(--juniper); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--juniper); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--juniper); }
.mark { width: 34px; height: 34px; flex: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--juniper); text-decoration: none; font-weight: 500; font-size: 0.98rem; border-radius: var(--arch); }
.nav a:hover { background: var(--cream); }
.nav a[aria-current="page"] { background: var(--juniper); color: var(--cream); }
.menu { display: none; min-height: 44px; padding: 0 16px; font: 600 1rem var(--text); color: var(--juniper); background: transparent; border: 1.5px solid var(--juniper); border-radius: 4px; cursor: pointer; }

@media (max-width: 860px) {
  .menu { display: inline-block; }
  .nav { display: none; flex-basis: 100%; padding-bottom: 14px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { width: 100%; border-radius: 0; border-top: 1px solid var(--rule); padding: 0 4px; }
  .nav a[aria-current="page"] { padding: 0 12px; }
}

/* Sections */
.sec { padding: 72px 0; }
.sec.sage { background: var(--sage); }
.sec.tight { padding: 48px 0; }
.intro { padding: 64px 0 40px; }
.kicker { font-family: var(--display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leaf); margin-bottom: 14px; }
.lede { font-size: clamp(1.15rem, 2.1vw, 1.4rem); line-height: 1.45; max-width: 46ch; margin-top: 22px; color: var(--juniper); }
.muted { color: var(--moss); }
.sec > .wrap > h2 { margin-bottom: 26px; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px 56px; align-items: start; }
.cols .body { max-width: 62ch; }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  font: 600 1.02rem var(--text);
  background: var(--juniper); color: var(--cream);
  border: 1.5px solid var(--juniper); border-radius: 4px;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--lime); color: var(--juniper); }
.btn.ghost { background: transparent; color: var(--juniper); }
.btn.ghost:hover { background: var(--cream); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero arcade */
.hero { padding: 64px 0 56px; }
.arcade {
  display: grid;
  grid-template-columns: 1fr 1fr 3.4fr 1fr 1fr;
  gap: 14px;
  align-items: end;
  margin-top: 52px;
  border-bottom: 5px solid var(--juniper);
}
.bay {
  border-radius: var(--arch);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 8px 20px;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
  text-align: center;
}
.bay.cream { background: var(--cream); color: var(--juniper); }
.bay.dark { background: var(--juniper); color: var(--cream); }
.bay.low { height: 230px; }
.bay.mid { height: 290px; }
.bay.main {
  position: relative;
  height: 380px;
  background: var(--juniper); color: var(--cream);
  flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 16px 34px;
}
.bay.main::before {
  content: "";
  position: absolute; top: -12px; left: 50%;
  width: 40px; height: 46px; margin-left: -20px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}
.addr { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5.2vw, 3.7rem); line-height: 1; letter-spacing: -0.02em; }
.addr b { font-weight: 700; color: var(--lime); }
.bay.main small { display: block; margin-top: 12px; font: 500 0.98rem var(--text); color: var(--mist); }
.arcade-note { margin-top: 16px; color: var(--moss); font-size: 0.98rem; max-width: 60ch; }

@media (max-width: 760px) {
  .arcade { grid-template-columns: repeat(4, 1fr); gap: 8px; border-bottom-width: 4px; margin-top: 40px; }
  .bay.main { grid-column: 1 / -1; order: -1; height: auto; aspect-ratio: 1 / 0.86; padding-bottom: 26px; border-bottom: 4px solid var(--celadon); }
  .bay.low, .bay.mid { height: 118px; font-size: 0.86rem; padding-bottom: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .bay { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; transform-origin: bottom; }
  .bay:nth-child(2), .bay:nth-child(4) { animation-delay: 0.08s; }
  .bay.main { animation-delay: 0.16s; }
  @keyframes rise { from { transform: scaleY(0.72); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Niches: a row of bays that carry content. */
.niches { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; align-items: stretch; border-bottom: 4px solid var(--juniper); }
.niche { background: var(--cream); border-radius: var(--arch); padding: 0 22px 28px; display: flex; flex-direction: column; }
.niche.dark { background: var(--juniper); color: var(--cream); }
.niche.dark p { color: var(--mist); }
.crown { aspect-ratio: 2 / 1.1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; font-family: var(--display); font-weight: 700; font-size: 3.3rem; line-height: 1; color: var(--leaf); }
.niche.dark .crown { color: var(--lime); }
.crown.word { font-size: 1.5rem; font-weight: 600; padding-bottom: 14px; }
.niche h3 { text-align: center; margin: 8px 0 12px; }
.niche p { font-size: 0.99rem; line-height: 1.55; color: var(--moss); }
.niches.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.niches.five .niche { padding: 0 16px 24px; }
@media (max-width: 1020px) {
  .niches.five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .niches.five .niche { grid-column: span 2; }
  .niches.five .niche:nth-child(n+4) { grid-column: span 3; }
  .niches.five .niche:nth-child(n+4) .crown { aspect-ratio: 2 / 0.75; }
}
@media (max-width: 520px) {
  .niches, .niches.five { grid-template-columns: 1fr; }
  .niches.five .niche, .niches.five .niche:nth-child(n+4) { grid-column: auto; }
  .niches.five .niche:nth-child(n+4) .crown { aspect-ratio: 2 / 0.8; }
  .crown { aspect-ratio: 2 / 0.8; }
}

/* Plain lists and rows */
.rows { border-top: 1.5px solid var(--juniper); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.row h3 { font-size: 1.15rem; }
.row p { max-width: 60ch; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; } }

.plain { margin: 0; padding: 0; list-style: none; }
.plain li { position: relative; padding: 0 0 12px 26px; max-width: 62ch; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 10px; height: 14px; border-radius: var(--arch); background: var(--juniper); }

details { border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1.5px solid var(--juniper); }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; min-height: 44px; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 500; color: var(--leaf); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 0 20px; max-width: 64ch; }

/* Portrait in an arch */
.portrait { background: var(--cream); border-radius: var(--arch); padding: 12px 12px 0; max-width: 380px; border-bottom: 5px solid var(--juniper); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); }
.portrait figcaption { padding: 14px 6px 16px; font-size: 0.95rem; color: var(--moss); }
.portrait figcaption strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--juniper); }
figure { margin: 0; }

.about-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 36px 64px; align-items: start; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; border-top: 1.5px solid var(--juniper); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leaf); font-weight: 600; }
.facts dd { margin: 4px 0 0; font-weight: 500; }

/* Closing bay */
.close { background: var(--juniper); color: var(--cream); border-radius: var(--arch); padding: clamp(90px, 16vw, 170px) 24px 56px; text-align: center; }
.close h2 { max-width: 20ch; margin: 0 auto; }
.close h2::before { box-shadow: none; }
.close p { color: var(--mist); max-width: 48ch; margin: 18px auto 0; }
.close .actions { justify-content: center; }
.close .btn { background: var(--lime); color: var(--juniper); border-color: var(--lime); }
.close .btn:hover { background: var(--cream); border-color: var(--cream); }
.close :focus-visible { outline-color: var(--cream); box-shadow: none; }
.sec.last { padding-bottom: 0; }

/* Form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--moss); }
input, select, textarea {
  width: 100%; min-height: 50px; padding: 11px 13px;
  font: 400 1.0625rem var(--text); color: var(--juniper);
  background: var(--cream); border: 1.5px solid var(--juniper); border-radius: 4px;
}
textarea { min-height: 140px; resize: vertical; }
.status { padding: 12px 14px; background: var(--cream); border-left: 5px solid var(--leaf); font-weight: 500; }
.status.bad { border-left-color: var(--juniper); background: var(--lime); }
.fine { font-size: 0.92rem; color: var(--moss); }
.side { background: var(--cream); border-radius: var(--arch); padding: 120px 28px 32px; border-bottom: 5px solid var(--juniper); }
.side h2 { font-size: 1.4rem; margin-bottom: 14px; }
.side h2::before { content: none; }
.side a { overflow-wrap: anywhere; }

/* Long text pages */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* Footer: juniper, with a row of small arch heads along its top edge. */
.foot { position: relative; margin-top: 56px; background: var(--juniper); color: var(--mist); font-size: 0.98rem; }
.sec.last + .foot, main:has(.sec.last) + .foot { margin-top: 0; }
.foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 23px;
  background: radial-gradient(circle at 50% 100%, var(--juniper) 0 22px, transparent 22.5px) repeat-x center bottom / 52px 23px;
}
main:has(.sec.last) + .foot::before { content: none; }
main:has(.sec.last) + .foot { border-top: 1px solid #2C4438; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px 48px; padding-top: 52px; padding-bottom: 36px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }
.foot-name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: var(--cream); margin-bottom: 10px; }
.foot-h { font-family: var(--display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); margin-bottom: 12px; }
.foot address { font-style: normal; line-height: 1.8; }
.foot a { color: var(--cream); overflow-wrap: anywhere; }
.foot a:hover { color: var(--lime); }
.foot :focus-visible { outline-color: var(--cream); box-shadow: none; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 36px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid #2C4438; font-size: 0.9rem; }

.lost { padding: 96px 0; text-align: center; }
.lost h1 { margin: 0 auto; }
.lost .lede { margin-left: auto; margin-right: auto; }
.lost .actions { justify-content: center; }
