/* =========================================================
   Optimized Home Space — Soft Studio
   Warm gray canvas, floating white sheet,
   terracotta orange + charcoal. Pill buttons, rounded
   cards, circular icon chips. Poppins + Manrope.
   ========================================================= */
:root {
  --canvas: #e9e6e1;
  --sheet: #ffffff;
  --soft: #f8f5f1;
  --ink: #26231f;
  --soft-ink: #4a453f;
  --muted: #787268;
  --line: #e8e3da;
  --orange: #d97a3d;
  --orange-dark: #c06327;
  --orange-soft: #f9e8da;
  --charcoal: #26231f;
  --shadow: 0 20px 45px rgba(38, 35, 31, .09);
  --shadow-sm: 0 8px 20px rgba(38, 35, 31, .06);
  --ease: cubic-bezier(.2, .8, .25, 1);
  --display: "Poppins", system-ui, sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 0
}

p {
  font-size: 1.02rem
}

a {
  color: inherit;
  text-decoration: none
}

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

button,
input,
select,
textarea {
  font: inherit
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

::selection {
  background: var(--orange);
  color: #fff
}

section[id] {
  scroll-margin-top: 96px
}

.wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 28px
}

main {
  flex: 1
}

@media(max-width:640px) {
  .sheet {
    margin: 8px auto;
    border-radius: 18px;
    min-height: calc(100vh - 16px)
  }

  .wrap {
    padding: 0 20px
  }
}

/* ============ nav ============ */
.nav {
  background: var(--sheet);
  border-bottom: 1px solid var(--line)
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 80px
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px
}

.logo-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 16px var(--display)
}

.brand-name {
  font: 600 16px var(--display);
  letter-spacing: -.02em
}

.brand-name small {
  display: block;
  font: 600 9.5px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px
}

.nav-links a {
  padding: 9px 15px;
  font: 600 14px var(--sans);
  color: var(--soft-ink);
  border-radius: 999px;
  transition: .15s
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--soft)
}

.nav-links a.on {
  color: var(--orange-dark);
  background: var(--orange-soft)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px
}

.nav-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font: 700 13.5px var(--sans);
  color: var(--ink);
  background: #fff;
  transition: .15s
}

.nav-btn-ghost:hover {
  border-color: var(--ink)
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font: 700 13.5px var(--sans);
  color: #fff;
  background: var(--orange);
  transition: .15s
}

.nav-btn:hover {
  background: var(--orange-dark);
  color: #fff
}

.nav-burger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 15px;
  background: #fff
}

.offcanvas-soft {
  background: var(--sheet);
  color: var(--ink);
  width: 320px;
  max-width: 86vw
}

.offcanvas-soft .offcanvas-title {
  font: 700 1.3rem var(--display)
}

.off-menu {
  display: flex;
  flex-direction: column
}

.off-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font: 600 15px var(--sans)
}

.off-menu a i {
  color: var(--orange);
  font-size: 12px
}

.off-menu a.on {
  color: var(--orange-dark)
}

/* ============ type & badges ============ */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-radius: 999px;
  padding: 9px 16px;
  font: 700 12.5px var(--sans);
  letter-spacing: .02em
}

.badge-pill i {
  font-size: 13px
}

.badge-pill.ink {
  background: rgba(255, 255, 255, .14);
  color: #ffd9bd
}

.h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12
}

.h2 .accent {
  color: var(--orange)
}

.lead {
  margin: 18px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7
}

.accent {
  color: var(--orange)
}

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font: 700 14.5px var(--sans);
  transition: .18s var(--ease);
  white-space: nowrap
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 122, 61, .3)
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px)
}

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink)
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px)
}

.btn-white {
  background: #fff;
  color: var(--ink)
}

.btn-white:hover {
  background: var(--orange-soft);
  color: var(--ink);
  transform: translateY(-2px)
}

.btn-dark {
  background: var(--ink);
  color: #fff
}

.btn-dark:hover {
  background: #000;
  color: #fff
}

.btn-primary:disabled,
.btn-dark:disabled {
  opacity: .55;
  cursor: wait;
  transform: none
}

.link-arr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 14px var(--sans);
  color: var(--orange-dark)
}

.link-arr i {
  transition: transform .18s
}

.link-arr:hover i {
  transform: translateX(4px)
}

/* ============ hero ============ */
.hero {
  padding: 64px 0 84px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center
}

@media(max-width:991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .hero {
    padding: 44px 0 60px
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  line-height: 1.06;
  margin-top: 22px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px
}

.hero-photo {
  position: relative;
  border-radius: 26px;
  overflow: visible
}

.hero-photo .frame {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.hero-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover
}

@media(max-width:575px) {
  .hero-photo img {
    height: 340px
  }
}

.photo-chip {
  position: absolute;
  left: -20px;
  bottom: 34px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: bob 5.5s ease-in-out infinite
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-9px)
  }
}

.photo-chip .pc-ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 15px
}

.photo-chip b {
  display: block;
  font: 700 15px var(--display)
}

.photo-chip span {
  display: block;
  font-size: 12px;
  color: var(--muted)
}

@media(max-width:575px) {
  .photo-chip {
    left: 12px;
    bottom: 14px;
    padding: 10px 14px
  }
}

/* ============ stats ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -40px;
  position: relative;
  z-index: 2
}

@media(max-width:767px) {
  .stats {
    grid-template-columns: 1fr;
    margin-top: -24px
  }
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm)
}

.stat .st-ic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0
}

.stat b {
  display: block;
  font: 700 26px var(--display);
  letter-spacing: -.02em
}

.stat span {
  display: block;
  font-size: 13px;
  color: var(--muted)
}

/* ============ sections ============ */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--line)
}

.section:first-of-type {
  border-top: 0
}

.section.soft {
  background: var(--soft)
}

@media(max-width:767px) {
  .section {
    padding: 56px 0
  }
}

.section-head {
  margin-bottom: 40px
}

.section-head .badge-pill {
  margin-bottom: 16px
}

.section-head .h2 {
  margin-top: 4px
}

.section-head .copy {
  margin-top: 14px;
  max-width: 40rem;
  color: var(--muted)
}

.head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap
}

/* ============ about row (orange card + gallery) ============ */
.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 56px;
  align-items: center
}

@media(max-width:991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }
}

.orange-card {
  background: var(--orange);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 26px 50px rgba(217, 122, 61, .3)
}

.orange-card h3 {
  font-size: 1.55rem;
  line-height: 1.25
}

.orange-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: .98rem;
  line-height: 1.7
}

.orange-card .btn {
  margin-top: 24px
}

.about-photo {
  position: relative
}

.about-photo .frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.about-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover
}

@media(max-width:575px) {
  .about-photo img {
    height: 320px
  }
}

.about-photo .tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font: 700 12px var(--sans);
  box-shadow: var(--shadow-sm)
}

.gallery-head h3 {
  font-size: 1.4rem
}

.gallery-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 30px;
  margin-top: 26px
}

@media(max-width:575px) {
  .gallery-list {
    grid-template-columns: 1fr
  }
}

.gallery-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start
}

.gi-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 18px;
  background: #fff
}

.gallery-item strong {
  display: block;
  font: 700 15px var(--display);
  letter-spacing: -.01em
}

.gallery-item p {
  margin: 5px 0 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted)
}

/* ============ services ============ */
.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px
}

.filter {
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: 700 13.5px var(--sans);
  color: var(--soft-ink);
  transition: .15s
}

.filter:hover {
  border-color: var(--ink);
  color: var(--ink)
}

.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

@media(max-width:991px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .svc-grid {
    grid-template-columns: 1fr
  }
}

.svc {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: .18s var(--ease)
}

.svc:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: var(--shadow)
}

.svc-ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 18px
}

.svc[data-group="Install"] .svc-ic {
  background: #eaf2fb;
  color: #3d6fa8
}

.svc[data-group="Protect"] .svc-ic {
  background: #eef3ea;
  color: #5d7a4a
}

.svc[data-group="Future"] .svc-ic {
  background: #f3ecfa;
  color: #7b52a8
}

.svc-tag {
  font: 800 10.5px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange)
}

.svc[data-group="Install"] .svc-tag {
  color: #3d6fa8
}

.svc[data-group="Protect"] .svc-tag {
  color: #5d7a4a
}

.svc[data-group="Future"] .svc-tag {
  color: #7b52a8
}

.svc-title {
  margin: 7px 0 0;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -.01em
}

.svc-desc {
  margin: 9px 0 0;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.svc.full .svc-desc {
  display: block;
  -webkit-line-clamp: unset
}

.svc-link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 13.5px var(--sans);
  color: var(--orange-dark)
}

.svc-link i {
  transition: transform .18s
}

.svc:hover .svc-link i {
  transform: translateX(4px)
}

/* ============ why cards ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

@media(max-width:991px) {
  .why-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:575px) {
  .why-grid {
    grid-template-columns: 1fr
  }
}

.why-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: .18s var(--ease)
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--orange)
}

.why-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 19px
}

.why-card h3 {
  margin-top: 16px;
  font-size: 1.05rem
}

.why-card p {
  margin: 9px 0 0;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted)
}

/* ============ process ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

@media(max-width:991px) {
  .steps {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:520px) {
  .steps {
    grid-template-columns: 1fr
  }
}

.step {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: relative
}

.step-no {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 16px var(--display)
}

.step h3 {
  margin-top: 16px;
  font-size: 1.1rem
}

.step p {
  margin: 8px 0 0;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted)
}

.step .tag {
  display: inline-block;
  margin-top: 14px;
  font: 800 10.5px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: var(--orange-soft);
  border-radius: 999px;
  padding: 6px 12px
}

/* ============ care ledger ============ */
.care-box {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 12px 30px;
  box-shadow: var(--shadow-sm)
}

.care-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line)
}

.care-row:last-child {
  border-bottom: 0
}

.care-row .cr-ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 19px
}

.care-row h3 {
  font-size: 1.12rem
}

.care-row p {
  margin: 5px 0 0;
  font-size: .9rem;
  color: var(--muted);
  max-width: 56ch
}

.care-row .cr-go {
  font: 700 13.5px var(--sans);
  color: var(--orange-dark);
  white-space: nowrap
}

.care-row:hover .cr-ic {
  background: var(--orange);
  color: #fff
}

@media(max-width:600px) {
  .care-row {
    grid-template-columns: 54px 1fr
  }

  .care-row .cr-go {
    display: none
  }
}

/* ============ duo cards (reviews + quote) ============ */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

@media(max-width:767px) {
  .duo {
    grid-template-columns: 1fr
  }
}

.duo-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-sm)
}

.duo-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 19px
}

.duo-card h3 {
  margin-top: 16px;
  font-size: 1.25rem
}

.duo-card p {
  margin: 10px 0 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--muted)
}

.stars {
  color: var(--orange);
  letter-spacing: 3px;
  margin-top: 14px;
  font-size: 15px
}

.duo-card .btn {
  margin-top: 22px
}

/* ============ faq ============ */
.faq-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 52px;
  align-items: start
}

@media(max-width:991px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

.faq-box {
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 6px 30px
}

@media(max-width:575px) {
  .faq-box {
    padding: 2px 18px
  }
}

.acc {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-active-color: var(--orange-dark);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 1.1rem
}

.acc .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line)
}

.acc .accordion-item:last-child {
  border-bottom: 0
}

.acc .accordion-button {
  font: 700 15.5px var(--display);
  letter-spacing: -.01em;
  box-shadow: none
}

.acc .accordion-body {
  padding: 0 3rem 1.2rem 0;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--muted)
}

/* ============ contact ============ */
.contact-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  box-shadow: var(--shadow)
}

@media(max-width:991px) {
  .contact-card {
    grid-template-columns: 1fr
  }
}

.contact-side {
  background: var(--charcoal);
  color: #fff;
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.contact-side h2 {
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.2
}

.contact-side h2 em {
  font-style: normal;
  color: var(--orange)
}

.contact-side p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: .95rem
}

.c-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.c-row i {
  color: var(--orange);
  margin-top: 3px
}

.c-row small {
  display: block;
  font: 800 9.5px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 2px
}

.c-row b,
.c-row a {
  display: block;
  font-size: .95rem;
  font-weight: 600
}

.c-row a:hover {
  color: var(--orange)
}

.contact-form {
  padding: 38px 34px
}

@media(max-width:575px) {
  .contact-form {
    padding: 26px 20px
  }

  .contact-side {
    padding: 32px 24px
  }
}

.contact-form h3 {
  font-size: 1.5rem
}

.contact-form .sub {
  margin: 6px 0 0;
  font-size: .9rem;
  color: var(--muted)
}

.form-label {
  display: block;
  margin-bottom: 7px;
  font: 800 11px var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--soft-ink)
}

.form-control,
.form-select {
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .72rem .9rem;
  font-size: .95rem;
  color: var(--ink)
}

.form-control::placeholder {
  color: #a29b90
}

.form-control:focus,
.form-select:focus {
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-soft);
  color: var(--ink)
}

.refbox {
  display: none;
  gap: 9px;
  align-items: center;
  margin-top: 14px;
  padding: 13px 16px;
  background: var(--orange-soft);
  border-radius: 12px;
  font: 700 13px var(--sans);
  color: var(--orange-dark)
}

.refbox.show {
  display: flex
}

/* ============ newsletter ============ */
.news {
  margin-top: 22px;
  background: var(--orange);
  border-radius: 26px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 26px 50px rgba(217, 122, 61, .32)
}

@media(max-width:900px) {
  .news {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 26px
  }
}

.news h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15
}

.news h2 em {
  font-style: normal;
  color: #ffe0c7
}

.news p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: .95rem;
  max-width: 40ch
}

.news .form-control {
  background: #fff;
  border-color: transparent
}

.news .form-control:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35)
}

.chk {
  display: flex;
  gap: 9px;
  margin: 13px 0;
  font-size: .85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  cursor: pointer
}

.chk input {
  margin-top: 3px;
  accent-color: var(--charcoal)
}

.chk.ink {
  color: var(--muted)
}

.news .mini {
  display: block;
  margin-top: 12px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .85);
  text-decoration: underline;
  font-size: .8rem
}

.subscribe-note {
  display: none;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 11px 14px;
  background: #fff;
  border-radius: 12px;
  font: 700 12.5px var(--sans);
  color: var(--orange-dark)
}

.subscribe-note.show {
  display: flex
}

/* ============ footer ============ */
.site-footer {
  background: var(--charcoal);
  color: #fff;
  padding-top: 52px;
  margin-top: auto
}

.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.foot-brand .logo-ic {
  background: var(--orange)
}

.foot-brand b {
  font: 700 20px var(--display);
  letter-spacing: -.02em
}

.foot-brand small {
  display: block;
  font: 700 9px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45)
}

.foot-people {
  display: none;
  align-items: center
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 12px var(--display);
  border: 2.5px solid var(--charcoal);
  margin-left: -10px
}

.avatar:first-child {
  margin-left: 0
}

.avatar.a2 {
  background: #8a6a4f
}

.avatar.a3 {
  background: #c98a5a
}

.foot-people span {
  margin-left: 14px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .55)
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.4fr .8fr .9fr .8fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

@media(max-width:900px) {
  .foot-cols {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:560px) {
  .foot-cols {
    grid-template-columns: 1fr
  }
}

.foot-desc {
  margin: 0;
  max-width: 30ch;
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  line-height: 1.7
}

.foot-h {
  margin: 0 0 12px;
  font: 800 10.5px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange)
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start
}

.foot-links a {
  color: rgba(255, 255, 255, .65);
  font-size: .9rem
}

.foot-links a:hover {
  color: #fff
}

.foot-bot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
  font-size: .78rem;
  color: rgba(255, 255, 255, .4)
}

.foot-bot a {
  color: inherit
}

.foot-bot a:hover {
  color: #fff
}

/* ============ subpage mast ============ */
.mast {
  padding: 76px 0 56px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  position: relative;
  overflow: hidden
}

.mast:after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--orange-soft)
}

.mast .wrap {
  position: relative;
  z-index: 1
}

.mast h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.06;
  margin-top: 18px;
  max-width: 16ch
}

.mast .lead {
  margin-top: 16px
}

.mast.alt {
  background: var(--sheet)
}

.mast.alt:after {
  background: var(--orange-soft);
  opacity: .7
}

/* ============ legal ============ */
.legal-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 48px;
  align-items: start
}

@media(max-width:900px) {
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
}

.toc-card {
  position: sticky;
  top: 96px;
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 24px
}

@media(max-width:900px) {
  .toc-card {
    position: static
  }
}

.toc-card h4 {
  margin: 0 0 12px;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 800
}

.toc-card ol {
  margin: 0;
  padding: 0;
  list-style: none
}

.toc-card a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font: 600 13.5px var(--sans);
  color: var(--soft-ink)
}

.toc-card li:last-child a {
  border-bottom: 0
}

.toc-card a:hover {
  color: var(--orange-dark)
}

.doc {
  max-width: 46rem
}

.doc .meta {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font: 800 11px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 14px
}

.doc-sec {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px
}

.doc-sec:first-of-type {
  margin-top: 20px
}

.doc-sec h3 {
  font-size: 1.35rem
}

.doc-sec h3 .n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font: 700 13px var(--sans);
  margin-right: 12px;
  vertical-align: middle
}

.doc-sec p {
  margin: 13px 0 0;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--soft-ink)
}

.doc-sec a {
  color: var(--orange-dark);
  font-weight: 700
}

/* ============ subscribe / unsubscribe ============ */
.perk {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line)
}

.perk:last-child {
  border-bottom: 0
}

.perk .p-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 17px
}

.perk strong {
  display: block;
  font: 700 15px var(--display)
}

.perk span.d {
  display: block;
  margin-top: 2px;
  font-size: .88rem;
  color: var(--muted)
}

.sub-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow)
}

.sub-card h3 {
  font-size: 1.55rem
}

.unsub-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow)
}

@media(max-width:575px) {
  .unsub-card {
    padding: 28px 22px
  }
}

.result {
  display: none;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--orange-soft);
  font-size: .88rem;
  line-height: 1.55;
  color: var(--orange-dark)
}

.result.show {
  display: flex
}

.result.no {
  background: #fdf0e7;
  color: #a2653a
}

.result i {
  margin-top: 2px
}

/* ============ 404 ============ */
.nf {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 20px
}

.nf-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 56px 48px;
  text-align: center;
  max-width: 560px
}

@media(max-width:575px) {
  .nf-card {
    padding: 36px 24px
  }
}

.nf-card h1 {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: .9
}

.nf-card h1 span {
  color: var(--orange)
}

.nf-card p {
  margin: 16px auto 0;
  max-width: 34ch;
  color: var(--muted)
}

.nf-card .hbtns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px
}

/* ============ toast ============ */
.toast-area {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(350px, calc(100vw - 32px))
}

.dn-toast {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--ink)
}

.dn-toast .toast-body b {
  display: block;
  font: 700 14px var(--sans)
}

.dn-toast .toast-body span {
  display: block;
  margin-top: 3px;
  font-size: .85rem;
  color: var(--muted)
}

.dn-toast.toast-err {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff
}

.dn-toast.toast-err .toast-body span {
  color: rgba(255, 255, 255, .85)
}

.dn-toast.toast-err .btn-close {
  filter: invert(1) grayscale(1) brightness(2)
}

/* ============ reveal ============ */
html.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .7s var(--ease)
}

html.js .rv.in {
  opacity: 1;
  transform: none
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .photo-chip {
    animation: none !important
  }

  html.js .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important
  }
}