/* ============================================================
   Day & Night INC — Swiss/International style
   ============================================================ */
:root {
  --teal:        #1F5C4D;  /* primary brand */
  --petrol:      #0E3B33;  /* darker sections / footer */
  --lime:        #C5D92E;  /* accent / CTA */
  --olive:       #8DA82C;  /* mid accent / hover */
  --white:       #FFFFFF;
  --ink:         #0B2620;  /* near-black text on light */
  --paper:       #F4F6EF;  /* light section background */
  --line:        rgba(255, 255, 255, 0.16);
  --line-dark:   rgba(11, 38, 32, 0.12);

  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-narrow: "Archivo Narrow", var(--font);

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background: var(--teal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--lime); color: var(--petrol); padding: .6rem 1rem;
  font-weight: 700; border-radius: var(--radius); transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-narrow);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--lime);
  margin: 0 0 1rem;
}
.eyebrow--dark { color: var(--olive); }

.section-title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem); /* ~28px mobile → ~40px desktop */
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}
.section-title--light { color: var(--white); }

.section-head { max-width: 24ch; margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--accent { background: var(--lime); color: var(--petrol); }
.btn--accent:hover { background: var(--olive); color: var(--petrol); }

.btn--ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31, 92, 77, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }

.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--white);
  font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em;
}
.wordmark__star { color: var(--lime); flex: none; }
.wordmark__text em { font-style: normal; color: var(--lime); }

.nav { display: flex; align-items: center; }
.nav__menu {
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem);
  list-style: none; margin: 0; padding: 0;
}
.nav__menu a {
  text-decoration: none; color: var(--white);
  font-weight: 600; font-size: .98rem;
  padding: .4rem 0; position: relative;
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--lime); transition: width .22s var(--ease);
}
.nav__menu a:not(.btn):hover::after,
.nav__menu a:not(.btn):focus-visible::after { width: 100%; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; position: relative;
}
.nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2px; background: var(--white); transform: translate(-50%, -50%);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav__toggle-bar::before { transform: translate(-50%, -7px); }
.nav__toggle-bar::after  { transform: translate(-50%, 5px); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(141,168,44,0.35) 0%, rgba(31,92,77,0) 55%),
    linear-gradient(160deg, var(--teal) 0%, var(--petrol) 100%);
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; justify-content: flex-end; align-items: center;
}
.hero__star {
  width: min(70vw, 760px); height: auto;
  transform: translate(28%, -4%);
  color: var(--lime);
  fill: var(--lime);
  opacity: 0.14;
  animation: spin 80s linear infinite;
  transform-origin: 50% 50%;
}
.hero__star path { fill: var(--lime); }
@keyframes spin { to { transform: translate(28%, -4%) rotate(360deg); } }

.hero__inner { position: relative; z-index: 1; max-width: 60ch; }
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem); /* ~40px mobile → ~64px desktop */
  line-height: 1.05; letter-spacing: -0.035em; font-weight: 900;
  margin: 0 0 1.5rem; color: var(--white);
  text-wrap: balance;
}
.hero__title .hl { color: var(--lime); }
.hero__sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 52ch; margin: 0 0 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem);
  margin: clamp(1.5rem, 3.5vw, 2.25rem) 0 0;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.hero__stats div { margin: 0; }
.hero__stats dt {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--lime);
  letter-spacing: -0.02em; line-height: 1;
}
.hero__stats dd {
  margin: .4rem 0 0; font-size: .9rem; color: rgba(255,255,255,0.72);
  font-family: var(--font-narrow); text-transform: uppercase; letter-spacing: .12em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--paper); color: var(--ink); padding: clamp(4rem, 9vw, 7rem) 0; }
.services .section-head {
  max-width: 40ch;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  text-align: left;
}
.title-br { display: inline; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: .85rem;
  transition: transform .22s var(--ease), border-top-color .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-top-color: var(--lime);
  box-shadow: 0 18px 40px -24px rgba(14,59,51,0.5);
}
.card__icon {
  width: 56px; height: 56px; flex: none;
  display: grid; place-items: center;
  background: var(--teal); color: var(--lime);
  border-radius: var(--radius);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.card p { margin: 0; font-size: 15px; line-height: 1.5; color: #3a4c45; }

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  background: var(--paper);
  display: grid; place-items: center;
  padding: 0 0 1rem;
}
.divider__star { width: 46px; height: 46px; fill: var(--olive); opacity: .8; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: linear-gradient(150deg, var(--teal) 0%, var(--petrol) 100%);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.about__inner {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.about__body p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.85); margin: 0 0 1.25rem; }
.about__body p:last-child { margin-bottom: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--paper); color: var(--ink); padding: clamp(4rem, 9vw, 7rem) 0; }
.contact__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__lead { font-size: 16px; line-height: 1.6; color: #3a4c45; max-width: 40ch; }

.contact__list { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.contact__list li { display: grid; gap: .15rem; }
.contact__label {
  font-family: var(--font-narrow); text-transform: uppercase; letter-spacing: .14em;
  font-size: .75rem; font-weight: 700; color: var(--olive);
}
.contact__list a { color: var(--teal); text-decoration: none; font-weight: 600; }
.contact__list a:hover { text-decoration: underline; }

/* ---- Form ---- */
.contact__form-wrap {
  background: var(--petrol);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--white);
}
.form__row { margin-bottom: 1.25rem; }
.form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label {
  display: block; font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: .45rem; color: rgba(255,255,255,0.85);
}
.form input, .form textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem .9rem;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,0.4); }
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--lime); background: rgba(255,255,255,0.1);
}
.form textarea { resize: vertical; min-height: 110px; }
.form__hp { position: absolute; left: -9999px; }

.form__consent {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start;
  margin: .5rem 0 1.5rem;
  font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,0.78);
}
.form__consent input {
  width: 20px; height: 20px; margin-top: .15rem; flex: none;
  accent-color: var(--lime); cursor: pointer;
}
.form__consent label { margin: 0; font-weight: 400; color: inherit; }

.form__fineprint { font-size: .82rem; color: rgba(255,255,255,0.6); margin: 1rem 0 0; text-align: center; }
.form__fineprint a { color: var(--lime); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--petrol); color: var(--white); padding: clamp(3rem, 6vw, 4.5rem) 0 1.75rem; }
.footer__inner {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--line);
}
.wordmark--footer { font-size: 1.3rem; }
.footer__tag { color: rgba(255,255,255,0.65); max-width: 32ch; margin: 1rem 0 0; font-size: .95rem; }

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__nav h4 {
  font-family: var(--font-narrow); text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; color: var(--lime); margin: 0 0 1rem; font-weight: 700;
}
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer__nav a { text-decoration: none; color: rgba(255,255,255,0.8); font-size: .95rem; }
.footer__nav a:hover { color: var(--lime); }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.75rem; font-size: .85rem; color: rgba(255,255,255,0.6);
}
.footer__bottom p { margin: 0; }
.footer__links-inline a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer__links-inline a:hover { color: var(--lime); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal { background: var(--paper); color: var(--ink); }
.legal__hero {
  background: linear-gradient(150deg, var(--teal) 0%, var(--petrol) 100%);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
}
.legal__hero .section-title { color: var(--white); }
.legal__updated { color: rgba(255,255,255,0.7); margin: 1rem 0 0; font-size: .9rem; }
.legal__body { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal__body .container { max-width: 760px; }
.legal__body h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); letter-spacing: -0.01em; color: var(--ink);
  margin: 2.5rem 0 .75rem;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { font-size: 1rem; color: #2c3c36; }
.legal__body ul { padding-left: 1.2rem; }
.legal__body li { margin-bottom: .5rem; }
.legal__body a { color: var(--teal); font-weight: 600; }
.legal__back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 2.5rem; font-weight: 700; color: var(--teal); text-decoration: none; }
.legal__back:hover { text-decoration: underline; }

/* ============================================================
   THANK YOU
   ============================================================ */
.thanks {
  min-height: 70vh; display: grid; place-items: center; text-align: center;
  background: linear-gradient(160deg, var(--teal) 0%, var(--petrol) 100%);
  padding: 4rem var(--pad);
}
.thanks__inner { max-width: 46ch; }
.thanks__star { width: 64px; height: 64px; fill: var(--lime); margin: 0 auto 1.5rem; }
.thanks h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; margin: 0 0 1rem; }
.thanks p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin: 0 0 2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .title-br { display: none; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--petrol); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.25rem;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .28s var(--ease), visibility .28s;
  }
  .nav__menu.is-open { max-height: 420px; visibility: visible; }
  .nav__menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__menu li:last-child { border-bottom: 0; }
  .nav__menu a:not(.btn) { display: block; padding: .95rem 0; }
  .nav__cta { padding-top: 1rem; }
  .nav__cta .btn { width: 100%; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .form__row--split { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}
