/* AK Homecraft — landing page */

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--brass); color: #1b1404; padding: 12px 18px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top .2s ease;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top)); }

section[id], #top { scroll-margin-top: 84px; }
picture { display: block; }
figure { margin: 0; }

.icon-stroke, .service__icon svg, .values__icon svg, .hero__card-icon svg, .hero__points svg, .site-nav__tool svg {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* ================= Header ================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--on-dark);
  padding-top: env(safe-area-inset-top);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-stuck, body.nav-open .site-header {
  background: rgba(14, 26, 31, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .2);
}
.site-header__bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.site-header .ak-brand { margin-right: auto; min-width: 0; }
.site-nav, .site-header__cta { display: none; }

.nav-toggle {
  width: 48px; height: 48px; flex: none; border: 0; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: var(--on-dark);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  -webkit-tap-highlight-color: transparent; margin-right: -4px;
}
.nav-toggle span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--on-dark);
  padding: calc(96px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
  animation: nav-in .28s ease both;
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  display: flex; align-items: center; min-height: 60px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-nav nav a.mobile-nav__tool { font-size: 17px; color: var(--brass-light); border-bottom: 0; }
.mobile-nav .btn { margin-top: auto; }
body.nav-open { overflow: hidden; }

@media (max-width: 359px) { .site-header .ak-word__tag { display: none; } }

@media (min-width: 1000px) {
  .nav-toggle, .mobile-nav { display: none !important; }
  .site-nav { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
  .site-nav a {
    display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 999px;
    text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(244, 241, 234, .82);
    transition: color .2s ease, background-color .2s ease;
  }
  .site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .site-nav__tool { color: var(--brass-light) !important; }
  .site-nav__tool svg { width: 17px; height: 17px; }
  .site-header__cta { display: inline-flex; }
}

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark); background: var(--ink);
  padding-top: calc(72px + env(safe-area-inset-top) + clamp(26px, 5vw, 64px));
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(216, 165, 72, .20), transparent 70%),
    radial-gradient(55% 50% at 0% 100%, rgba(111, 143, 115, .22), transparent 70%),
    linear-gradient(180deg, #10212a 0%, #0e1a1f 60%, #0b1519 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 85%); mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 85%);
}
.hero__grid { position: relative; display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; padding-bottom: clamp(44px, 7vw, 88px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep);
}
.eyebrow--light { color: var(--brass-light); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(216, 165, 72, .22); }

.hero h1 { font-size: clamp(2.3rem, 5.2vw + 1.05rem, 4.3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #f6dc9a 0%, #d8a548 55%, #f3d488 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.06rem, .5vw + 1rem, 1.22rem); line-height: 1.6; color: var(--on-dark-muted); max-width: 56ch; }
.hero .lead { margin-top: 20px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 600; color: rgba(244, 241, 234, .88); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 18px; height: 18px; color: var(--brass); stroke-width: 2.4; }

.hero__art { position: relative; padding: 0 0 15% 9%; max-width: 620px; width: 100%; margin-inline: auto; }
.hero__photo { overflow: hidden; background: var(--ink-3); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { border-radius: var(--radius-l); aspect-ratio: 4 / 3.5; box-shadow: var(--shadow-l); }
.hero__photo--main picture, .hero__photo--side picture { height: 100%; }
.hero__photo--side {
  position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border-radius: 20px;
  border: 5px solid var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.hero__card {
  position: absolute; right: 12px; bottom: 6%; max-width: 46%;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(247, 244, 238, .96); color: var(--text); box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  animation: floaty 6s ease-in-out infinite;
}
.hero__card-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--brass-light); }
.hero__card-icon svg { width: 22px; height: 22px; }
.hero__card strong { display: block; font-family: var(--font-display); font-size: 14px; line-height: 1.2; letter-spacing: -0.01em; }
.hero__card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 3px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 479px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__card { max-width: 52%; padding: 10px 12px; gap: 10px; }
  .hero__card small { display: none; }
  .hero__card-icon { width: 34px; height: 34px; border-radius: 10px; }
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; }
  .hero__art { margin-inline: 0 0; justify-self: end; }
  .hero__card { right: -14px; }
}

/* Ticker */
.ticker { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); overflow: hidden; }
.ticker__track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 16px 0; animation: ticker 46s linear infinite; }
.ticker__track span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em; color: rgba(244, 241, 234, .78); white-space: nowrap; }
.ticker__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
@keyframes ticker { to { transform: translateX(calc(-50% - 13px)); } }

/* ================= Sections ================= */
.section { padding-block: clamp(64px, 9vw, 118px); position: relative; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section__head { max-width: 740px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section h2 { font-size: clamp(1.85rem, 3.1vw + 1rem, 3.05rem); font-weight: 800; letter-spacing: -0.03em; }
.section__intro { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }
.section--dark .section__intro { color: var(--on-dark-muted); }

/* Services */
.services { display: grid; gap: 16px; }
.service {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-s); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .7s ease;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brass-light), var(--brass), var(--brass-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, #24424c, #0e1a1f); color: var(--brass-light);
  box-shadow: inset 0 0 0 1px rgba(246, 220, 154, .22);
}
.service__icon svg { width: 27px; height: 27px; }
.service h3 { font-size: 1.22rem; font-weight: 800; margin-bottom: 8px; }
.service p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--sage-soft); color: #3e5a43; }
@media (hover: hover) {
  .service:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d9cdb6; }
  .service:hover::before { transform: scaleX(1); }
}
@media (min-width: 620px) { .services { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1060px) { .services { grid-template-columns: repeat(4, 1fr); } }

/* Inside / outside */
.split { display: grid; gap: 20px; }
.panel { background: var(--card); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.panel picture { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
@media (hover: hover) { .panel:hover img { transform: scale(1.05); } }
.panel__body { padding: clamp(22px, 3.5vw, 34px); }
.panel__label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #3e5a43; background: var(--sage-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.panel h3 { font-size: clamp(1.4rem, 1.4vw + 1rem, 1.8rem); font-weight: 800; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.500 12.500l3.700 3.700L17.500 8.500' fill='none' stroke='%23f6dc9a' stroke-width='2.600' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; }
.step__num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #1b1404;
  background: linear-gradient(135deg, #f3d488, #d8a548 60%, #c08f30); box-shadow: 0 6px 16px rgba(216, 165, 72, .35);
}
.step h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--muted); line-height: 1.55; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 47px; left: 84px; right: -22px; height: 2px;
    background: repeating-linear-gradient(90deg, #d9cdb6 0 6px, transparent 6px 12px);
  }
}

/* Why us */
.why { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
.why__media { position: relative; padding: 0 9% 12% 0; max-width: 560px; width: 100%; margin-inline: auto; }
.why__media > picture:first-child { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-l); background: var(--ink-3); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__media-small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 5px solid var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.why .section__head { margin-bottom: 30px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.values li { display: flex; gap: 16px; align-items: flex-start; }
.values__icon { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; color: var(--brass-light); background: rgba(246, 220, 154, .08); box-shadow: inset 0 0 0 1px rgba(246, 220, 154, .25); }
.values__icon svg { width: 25px; height: 25px; }
.values h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 4px; }
.values p { font-size: 15.5px; color: var(--on-dark-muted); line-height: 1.55; }
@media (min-width: 1000px) { .why { grid-template-columns: .9fr 1.1fr; } .why__media { margin-inline: 0; } }

/* Gallery */
.gallery {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { position: relative; flex: 0 0 78%; max-width: 420px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--paper-2); box-shadow: var(--shadow-s); }
.gallery__item picture, .gallery__item img { width: 100%; height: 100%; }
.gallery__item img { object-fit: cover; transition: transform 1.1s ease; }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 44px 18px 16px; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  background: linear-gradient(180deg, transparent, rgba(8, 16, 19, .82));
}
.gallery__note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.06); } }
@media (max-width: 899px) { .js .gallery .reveal { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; overflow: visible; max-width: var(--maxw); margin-inline: auto; padding-block: 0; }
  .gallery__item { max-width: none; }
}

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq .section__head { margin-bottom: 24px; }
.faq__list { display: grid; gap: 12px; align-content: start; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 62px; padding: 14px 20px; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%2317252b' stroke-width='2.200' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s ease, background-color .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brass-light); }
.faq details p { padding: 0 20px 20px; color: var(--muted); font-size: 16px; }
@media (min-width: 900px) { .faq { grid-template-columns: .8fr 1.2fr; gap: 56px; } }

/* Contact */
.contact { overflow: hidden; }
.contact__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 12% 10%, rgba(216, 165, 72, .16), transparent 70%), radial-gradient(45% 55% at 100% 100%, rgba(111, 143, 115, .2), transparent 70%); }
.contact__grid { position: relative; display: grid; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact__logo { margin-bottom: 26px; }
.contact h2 { margin-bottom: 14px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact__facts { margin: 28px 0 0; display: grid; gap: 14px; }
.contact__facts div { display: grid; gap: 2px; }
.contact__facts dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); }
.contact__facts dd { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.contact__facts a { text-decoration: none; border-bottom: 1px solid rgba(246, 220, 154, .4); }
.contact__panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 36px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.soon__badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1b1404; background: var(--brass); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.soon h3, .quote h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.soon p { color: var(--on-dark-muted); }
.quote { display: grid; gap: 16px; }
.quote h3 { margin-bottom: 2px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: rgba(244, 241, 234, .9); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; font-size: 16px; line-height: 1.4;
  color: var(--on-dark); background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 14px;
  -webkit-appearance: none; appearance: none; transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23f6dc9a' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.field select option { color: #17252b; background: #fff; }
.field ::placeholder { color: rgba(244, 241, 234, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background-color: rgba(255, 255, 255, .1); }
.quote__error { color: #ffb4a8; font-size: 15px; font-weight: 600; }
.quote__send { display: flex; flex-wrap: wrap; gap: 12px; }
.quote__send .btn { flex: 1 1 200px; }
.quote__hint { font-size: 13.5px; color: var(--on-dark-muted); }
.quote__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.quote-done { display: grid; justify-items: start; gap: 12px; }
.quote-done__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(111, 143, 115, .22); border: 1px solid rgba(150, 190, 155, .5); color: #cfeed4; }
.quote-done__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.quote-done h3 { font-size: 1.5rem; font-weight: 800; }
.quote-done p { color: var(--on-dark-muted); margin-bottom: 6px; }
@media (max-width: 479px) { .contact__actions .btn { flex: 1 1 100%; } }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1fr; } }

/* Footer */
.site-footer { background: #0a1418; color: var(--on-dark-muted); padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.site-footer .ak-brand { color: var(--on-dark); }
.site-footer__grid { display: grid; gap: 28px; }
.site-footer__brand p { margin-top: 14px; max-width: 38ch; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-inline: -12px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; color: rgba(244, 241, 234, .8); border-radius: 10px; }
.site-footer__nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-footer__legal { position: relative; margin-top: 28px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: 13.5px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1fr auto; align-items: start; } .site-footer__nav { max-width: 420px; justify-content: flex-end; } }

/* ================= Reveal on scroll ================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .hero__card { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
.site-footer__legal::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .08); }

/* ================= Portfolio page ================= */
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.mobile-nav nav a[aria-current="page"] { color: var(--brass-light); }
.site-footer__nav a[aria-current="page"] { color: #fff; }
.gallery__note a { color: var(--brass-deep); font-weight: 600; text-underline-offset: 3px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 15px 8px 13px; border-radius: 999px;
  background: rgba(216, 165, 72, .12); border: 1px solid rgba(216, 165, 72, .4); color: var(--brass-light);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.status-pill i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--brass); }
.status-pill i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--brass); opacity: 0; animation: pf-pulse 2.2s ease-out infinite; }
@keyframes pf-pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }

.pf-hero .hero__grid { padding-bottom: clamp(56px, 8vw, 104px); }

.pf-art { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 4 / 3.3; }
.pf-frame {
  position: absolute; border-radius: var(--radius-l); overflow: hidden;
  background: linear-gradient(145deg, #223d47 0%, #15262d 100%);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-l);
}
.pf-frame::before, .pf-card__ph::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pf-frame--back { inset: 0 16% 18% 0; transform: rotate(-5deg); opacity: .65; }
.pf-frame--front { inset: 11% 0 0 11%; display: grid; place-items: center; text-align: center; border-color: rgba(216, 165, 72, .35); }
.pf-frame--front::after, .pf-card__ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(246, 220, 154, .16) 50%, transparent 62%);
  transform: translateX(-100%); animation: pf-sweep 4.2s ease-in-out infinite; animation-delay: var(--s, 0s);
}
@keyframes pf-sweep { 0%, 35% { transform: translateX(-100%); } 75%, 100% { transform: translateX(100%); } }
.pf-frame__in { position: relative; padding: 18px; display: grid; justify-items: center; gap: 6px; }
.pf-frame__icon {
  width: 72px; height: 72px; margin-bottom: 10px; border-radius: 22px; display: grid; place-items: center;
  background: rgba(216, 165, 72, .12); border: 1px solid rgba(216, 165, 72, .45); color: var(--brass-light);
}
.pf-frame__icon svg { width: 36px; height: 36px; }
.pf-frame strong { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 800; letter-spacing: -0.02em; }
.pf-frame small { font-size: 14px; color: var(--on-dark-muted); }
.pf-frame__icon svg, .pf-card__ph svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.pf-chip {
  position: absolute; left: 0; bottom: 7%; display: grid; gap: 9px; min-width: 190px; padding: 13px 15px; border-radius: 16px;
  background: rgba(247, 244, 238, .97); color: var(--text); box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em;
  animation: floaty 6s ease-in-out infinite;
}
.pf-chip__bar { display: block; height: 6px; border-radius: 6px; background: #e4ddd0; overflow: hidden; }
.pf-chip__bar i { display: block; width: 45%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #d8a548, #a87722); animation: pf-bar 2.6s ease-in-out infinite alternate; }
@keyframes pf-bar { from { transform: translateX(-30%); } to { transform: translateX(150%); } }

@media (min-width: 1000px) { .pf-art { margin-inline: 0; justify-self: end; } }

.pf-grid { display: grid; gap: 16px; }
@media (min-width: 620px) { .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.pf-card {
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); box-shadow: var(--shadow-s); transition: transform .3s ease, box-shadow .3s ease;
}
.pf-card__ph {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, var(--ink-3) 0%, var(--ink) 100%); color: var(--brass-light);
}
.pf-card__ph svg { position: relative; width: 56px; height: 56px; opacity: .92; }
.pf-card:nth-child(2) .pf-card__ph { --s: .5s; }
.pf-card:nth-child(3) .pf-card__ph { --s: 1s; }
.pf-card:nth-child(4) .pf-card__ph { --s: 1.5s; }
.pf-card:nth-child(5) .pf-card__ph { --s: 2s; }
.pf-card:nth-child(6) .pf-card__ph { --s: 2.5s; }
.pf-card__tag {
  position: absolute; z-index: 1; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px;
  background: rgba(14, 26, 31, .6); border: 1px solid rgba(216, 165, 72, .5); color: var(--brass-light);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.pf-card__body { padding: 20px 22px 24px; }
.pf-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 7px; }
.pf-card p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
@media (hover: hover) { .pf-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); } }

.pf-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: pf; }
.pf-points li { counter-increment: pf; padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.pf-points li::before {
  content: "0" counter(pf); display: block; margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .12em; color: var(--brass-deep);
}
.pf-points h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.pf-points p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }
@media (min-width: 800px) { .pf-points { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.pf-cta__in { position: relative; text-align: center; }
.pf-cta .lead { margin: 14px auto 0; }
.pf-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
@media (max-width: 479px) { .pf-cta__actions .btn { flex: 1 1 100%; } }

@media (min-width: 1000px) { .site-nav a { white-space: nowrap; } }
@media (min-width: 1000px) and (max-width: 1179px) {
  .site-nav { gap: 0; margin-right: 4px; }
  .site-nav a { padding: 0 10px; font-size: 14.5px; }
  .site-header .ak-word__tag { display: none; }
}
@media (max-width: 599px) {
  .pf-frame small { display: none; }
  .pf-frame__in { transform: translateY(-16%); }
}

@media (prefers-reduced-motion: reduce) {
  .status-pill i::after, .pf-frame--front::after, .pf-card__ph::after, .pf-chip, .pf-chip__bar i { animation: none; }
}
