/* ==========================================================================
   ADNAN KABIR — sections.css
   --------------------------------------------------------------------------
   01. Hero            06. Manifesto
   02. Process         07. Resources
   03. Stats           08. Field Notes
   04. Free Audit      09. About
   05. Case Studies    10. Briefing · 11. Finale · 12. Footer
   ========================================================================== */

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

main > section { position: relative; z-index: 1; }

/* ---------- 01. HERO ----------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(10rem, 16vh, 12rem) 0 clamp(3.5rem, 8vh, 6rem);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  min-height: 100vh;
}

.hero__glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__glow i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.hero__glow i:nth-child(1) {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  top: -14%; right: -8%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 68%);
  animation: drift-a 22s var(--ease-io) infinite alternate;
}
.hero__glow i:nth-child(2) {
  width: 34vw; height: 34vw; max-width: 480px; max-height: 480px;
  bottom: -12%; left: -10%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  opacity: .3;
  animation: drift-b 28s var(--ease-io) infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(-5%, 6%, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(7%, -5%, 0) scale(1.08); } }

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
}

.hero__copy > * + * { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

/* Sized so the longest line (9.37em) always clears its column: full width
   below 1024px, ~65% of the shell above it. */
.hero__title {
  font-size: clamp(1.95rem, 8.6vw, 4.5rem);
  font-weight: 800;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}
@media (min-width: 1024px) {
  .hero__title { font-size: clamp(2.5rem, 5vw, 4.5rem); }
}
.hero__title .linewrap { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.08em; }
.hero__title .line { display: block; }
.hero__title em { font-style: normal; }

.hero__lede { max-width: 42ch; }
.hero__lede b { color: var(--ink); font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 420px) { .hero__actions .btn { width: 100%; } }

.hero__ticks {
  display: flex; flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding-top: clamp(1rem, 2vw, 1.5rem);
}
.hero__ticks li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: var(--ink-3);
}
.hero__ticks svg {
  width: .85rem; height: .85rem; flex: none;
  stroke: var(--accent); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Portrait slot */
.hero__visual { display: grid; place-items: center; }
.portrait { position: relative; width: 100%; max-width: 25rem; }
.portrait__ring {
  position: absolute;
  inset: -12% -8%;
  border: 1px solid var(--rule);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.portrait__ring::after {
  content: '';
  position: absolute; top: 50%; left: -4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}
@keyframes spin { to { transform: rotate(360deg); } }

.portrait__frame {
  position: relative;
  background: var(--elev);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
}
.portrait__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--accent-soft) 0%, transparent 60%),
    var(--bg-2);
}
.portrait__art { width: 100%; height: 100%; }
.portrait__scan {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--accent-soft) 48%, transparent 60%);
  transform: translateY(-100%);
  animation: scan 7s var(--ease-io) infinite;
  mix-blend-mode: screen;
}
[data-theme='light'] .portrait__scan { mix-blend-mode: multiply; opacity: .7; }
@keyframes scan {
  0%, 12%  { transform: translateY(-100%); }
  62%,100% { transform: translateY(100%); }
}

.portrait__plate {
  display: flex; align-items: baseline;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .95rem 1.1rem;
  border: 1px solid var(--rule);
  border-top: 0;
  background: var(--elev);
}
.portrait__plate .mono { color: var(--accent-text); }
.portrait__name {
  font-family: var(--font-display);
  font-weight: 700; font-stretch: 90%;
  letter-spacing: -.01em;
  font-size: 1.0625rem;
  margin-right: auto;
}
.portrait__role { color: var(--ink-3); }

.hero__cue {
  position: absolute; left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  display: none;
  align-items: center; gap: .7rem;
  min-height: 2.75rem; padding-inline: .5rem;
  color: var(--ink-3);
  z-index: 2;
}
@media (min-width: 1024px) and (min-height: 720px) { .hero__cue { display: inline-flex; } }
.hero__cue-rail { position: relative; display: block; width: 46px; height: 1px; background: var(--rule-2); }
.hero__cue-rail i {
  position: absolute; inset: 0 auto 0 0;
  width: 14px; background: var(--accent);
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0% { left: 0; } 60%, 100% { left: calc(100% - 14px); } }
.hero__cue:hover { color: var(--ink); }

/* ---------- 02. PROCESS -------------------------------------------------- */

/* Backgrounds stay semi-transparent so the fixed blueprint rules read through
   the whole page rather than being interrupted section by section. */
.process {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--rule);
  background: radial-gradient(85% 60% at 50% 50%, var(--accent-soft) 0%, transparent 72%);
}
.process__head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.process__intro { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: end; }
@media (min-width: 900px) {
  .process__intro { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .process__intro .lede { max-width: 38ch; padding-bottom: .6rem; }
}
.process__intro .h2 { margin-bottom: 0; }

.process__viewport {
  position: relative;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.process__track {
  position: relative;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  padding-left: 1.75rem;
}
.process__track::before {
  content: '';
  position: absolute; left: 0; top: .5rem; bottom: .5rem;
  width: 1px; background: var(--rule-2);
}
.process__rail { display: none; }

.step {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--elev);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  transition: border-color var(--t-med) var(--ease-out),
              transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.step:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
}
.step__num {
  color: var(--accent-text);
  font-size: .75rem;
  margin-bottom: 1.75rem;
}
.step__node {
  position: absolute;
  left: -1.75rem; top: 2rem;
  width: 9px; height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  transition: box-shadow var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out);
}
.step:hover .step__node { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.step__glyph {
  display: block;
  width: 2.5rem; height: 2.5rem;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
  opacity: .9;
}
.step__glyph svg { width: 100%; height: 100%; stroke-linecap: round; }
.step__name {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  margin-bottom: .5rem;
}
.step__desc { color: var(--ink-2); font-size: .9375rem; text-wrap: pretty; }

.step--cta {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  display: grid;
  align-content: center;
  gap: .5rem;
}
.step--cta .step__name { font-size: clamp(1.375rem, 2.2vw, 1.625rem); }
.step--cta .btn { margin-top: 1rem; justify-self: start; }

.step--cta .step__num {
    font-size: 1.25rem;
    line-height: 1.25rem;
    margin-bottom: 1.25rem;
}

/* Desktop: horizontal filmstrip driven by scroll (GSAP pins the section) */
@media (min-width: 1024px) {
  .process { padding: 0; }
  .process__pin {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(7rem, 12vh, 9rem) 0 clamp(4rem, 8vh, 6rem);
  }
  .process__viewport { overflow: hidden; max-width: none; padding-inline: 0; }
  .process__track {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    width: max-content;
    padding: 1.25rem var(--gutter) 3.25rem;
    padding-left: max(var(--gutter), calc((100vw - var(--shell-max)) / 2 + var(--gutter)));
    will-change: transform;
  }
  .process__track::before { display: none; }

  .process__rail {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 1.5rem;
    height: 1px;
    background: var(--rule-2);
  }
  .process__rail span {
    display: block; height: 100%; width: 100%;
    transform: scaleX(0); transform-origin: 0 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--glow);
  }

  .step { width: 20.5rem; flex: none; }
  .step__node { left: 50%; top: -1.75rem; margin-left: -4px; }
  .step--cta { width: 22rem; }
}

@media (min-width: 1440px) { .step { width: 22rem; } }

/* ---------- 03. STATS ---------------------------------------------------- */

.stats {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--rule);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
}
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat { position: relative; }
.stat::before {
  content: '';
  position: absolute; left: 0; bottom: -20px;
  width: 2.25rem; height: 2px;
  background: var(--accent);
}
.stat__num {
  display: flex; align-items: baseline;
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1;
}
.stat__num i { font-style: normal; color: var(--accent-text); }
.stat__label {
  margin-top: .85rem;
  color: var(--ink-3);
  font-size: .625rem;
  line-height: 1.6;
}

/* ---------- 04. FREE AUDIT ----------------------------------------------- */

.audit {
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--rule);
}
.audit__head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.audit__body { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1024px) {
  .audit__body { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(3rem, 5vw, 5rem); }
}

.video__frame {
  position: relative;
  padding: .5rem;
  background: var(--elev);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}
.video__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  display: grid; place-items: center;
}
.video__art { position: absolute; inset: 0; width: 100%; height: 100%; }

.video__play {
  position: relative;
  display: grid; place-items: center;
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 12px 40px -10px var(--glow);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out);
}
.video__play svg { width: 1.75rem; height: 1.75rem; }
.video__play:hover { transform: scale(1.07); background: #4FE3FA; }
.video__play:active { transform: scale(.98); }
.video__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse-ring 3s var(--ease-io) infinite;
}
.video__play.is-nudged { animation: nudge .45s var(--ease-io); }
@keyframes nudge {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.video__tag, .video__time {
  position: absolute; bottom: .85rem;
  padding: .3rem .55rem;
  border-radius: var(--r-sm);
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: .625rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}
.video__tag { left: .85rem; }
.video__time { right: .85rem; color: var(--accent-text); }
.video__cap { margin-top: 1rem; color: var(--ink-3); font-size: .625rem; }

.audit__list { display: grid; gap: 1.5rem; }
.steps-list { display: grid; }
.steps-list li {
  display: flex; gap: clamp(1rem, 2.5vw, 1.75rem);
  padding: clamp(1.15rem, 2.5vw, 1.5rem) 0;
  border-bottom: 1px solid var(--rule);
}
.steps-list li:first-child { border-top: 1px solid var(--rule); }
.steps-list__num { color: var(--accent-text); flex: none; padding-top: .35rem; }
.steps-list h3 {
  font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 600; font-stretch: 96%;
  letter-spacing: -.015em;
  margin-bottom: .3rem;
}
.steps-list p { color: var(--ink-2); font-size: .9375rem; }
.audit__list > .btn { justify-self: start; }
@media (max-width: 420px) { .audit__list > .btn { width: 100%; } }

/* ---------- 05. CASE STUDIES --------------------------------------------- */

.cases { padding: var(--section-y) 0; border-bottom: 1px solid var(--rule); }
.cases__head { display: grid; gap: clamp(1.25rem, 3vw, 2rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) {
  .cases__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .cases__head .h2 { margin-bottom: 0; }
}
.cases__intro { display: grid; justify-content: end; gap: .85rem; }
.cases__intro p:last-child { color: var(--ink-3); font-size: .9375rem; max-width: 46ch; }
@media (max-width: 899px) {
  .cases__intro { justify-content: start; }
}
.cases__grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 760px)  { .cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cases__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.case {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--elev);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.case:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-md); }
.case:hover .brackets i { width: 20px; height: 20px; }
.case .brackets i { opacity: 0; transition: opacity var(--t-med) linear, width var(--t-med) var(--ease-out), height var(--t-med) var(--ease-out); }
.case:hover .brackets i { opacity: 1; }

.case__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--rule);
}
.case__id { color: var(--ink); font-size: .6875rem; }

.case__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem .75rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.case__meta dt { color: var(--ink-3); font-size: .5625rem; margin-bottom: .4rem; }
.case__meta dd {
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 600; font-stretch: 94%;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.case__meta dd small { font-size: .75rem; font-weight: 500; color: var(--ink-3); }

.case__body { display: grid; gap: 1.15rem; padding-top: 1.25rem; flex: 1; }
.case__k { color: var(--ink-3); font-size: .5625rem; margin-bottom: .4rem; }
.case__block p:not(.case__k) { font-size: .9375rem; color: var(--ink-2); text-wrap: pretty; }
.case__block--result {
  margin-top: auto;
  padding: 1rem 1.1rem;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.case__block--result p:not(.case__k) { color: var(--ink); }
.case__block--result b { color: var(--accent-text); font-weight: 700; }
.case__block--result .case__k { color: var(--accent-text); }

.case--pending { background: transparent; border-style: dashed; }
.case--pending .case__top { opacity: .55; }
.case--pending .case__block--result { background: transparent; border-left-color: var(--rule-2); }
.case__pending {
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-3); font-size: .5625rem;
}

/* ---------- 06. MANIFESTO ------------------------------------------------ */

.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 13vw, 9.5rem) 0;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.manifesto--alt {
  background: radial-gradient(75% 70% at 50% 50%, var(--accent-soft) 0%, transparent 70%);
}
.manifesto .shell { position: relative; z-index: 1; }
.manifesto__quote p {
  font-size: clamp(1.85rem, 5.4vw, 4.25rem);
  font-weight: 800;
  font-stretch: 90%;
  line-height: 1.2;
  letter-spacing: -.03em;
  text-wrap: balance;
  max-width: 28ch;
  margin-inline: auto;
}

/* ---------- 07. RESOURCES ------------------------------------------------ */

.resources { padding: var(--section-y) 0; border-bottom: 1px solid var(--rule); }
.resources__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.resources__grid { display: grid; gap: clamp(2rem, 4vw, 2.5rem); }
@media (min-width: 760px)  { .resources__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .resources__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.res { display: grid; align-content: start; gap: .55rem; }

.res__cover {
  position: relative;
  display: grid;
  align-content: end;
  gap: 1rem;
  aspect-ratio: 3 / 4;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1.25rem;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  background:
    radial-gradient(90% 70% at 15% 0%, var(--accent-soft) 0%, transparent 62%),
    var(--elev);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform-origin: 50% 100%;
  transition: transform var(--t-slow) var(--ease-out),
              box-shadow var(--t-slow) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
/* stacked-paper edge */

.res:hover .res__cover {
  transform: translateY(-8px) rotate(-1.1deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-line);
}
.res:hover .res__cover .brackets i { width: 22px; height: 22px; }

.res__cover-label {
  position: absolute; top: clamp(1.25rem, 3vw, 1.75rem); left: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--accent-text);
}
.res__cover-title {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  font-weight: 800; font-stretch: 84%;
  line-height: .98; letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: var(--stroke-w) var(--ink);
}
.res__cover-rule { display: block; height: 1px; background: var(--rule-2); }

.res__type { color: var(--ink-3); }
.res__title {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.1;
}
.res__fmt { color: var(--accent-text); }
.res__desc { color: var(--ink-2); font-size: .9375rem; margin: .35rem 0 .5rem; text-wrap: pretty; }
.res .link-arrow { justify-self: start; }

.res--soon .res__cover { opacity: .72; }
.res--soon .res__cover-title { -webkit-text-stroke-color: var(--ink-3); }

/* ---------- 08. FIELD NOTES ---------------------------------------------- */

.notes { padding: var(--section-y) 0; border-bottom: 1px solid var(--rule); }
.notes__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.notes__list { border-top: 1px solid var(--rule); margin-bottom: clamp(2rem, 4vw, 3rem); }
.notes__list li { border-bottom: 1px solid var(--rule); }

.note {
  position: relative;
  display: grid;
  gap: .35rem 1.5rem;
  padding: clamp(1.35rem, 3vw, 2rem) 0;
  align-items: center;
  transition: padding-left var(--t-med) var(--ease-out);
}
.note::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: width var(--t-med) var(--ease-out);
}
@media (min-width: 900px) {
  .note {
    grid-template-columns: 7.5rem minmax(0, 1.05fr) minmax(0, 1fr) auto;
    gap: 2rem;
  }
  .note:hover { padding-left: 2.25rem; }
  .note:hover::before { width: 1.5rem; }
}
.note__date { color: var(--ink-3); }
.note__title {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 700;
  transition: color var(--t-fast) linear;
}
.note:hover .note__title { color: var(--accent-text); }
.note__teaser { color: var(--ink-3); font-size: .9375rem; }
.note__go {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--accent-text);
  justify-self: start;
}
@media (min-width: 900px) { .note__go { justify-self: end; } }
.note__go svg {
  width: 1rem; height: 1rem;
  stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--t-med) var(--ease-out);
}
.note:hover .note__go svg { transform: translateX(4px); }

.notes__philosophy {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: clamp(1.5rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 28ch;
  text-align: center;
  margin: auto;
}

/* ---------- 09. ABOUT ---------------------------------------------------- */

.about { padding: var(--section-y) 0; border-bottom: 1px solid var(--rule); }
.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}

.about__frame {
  position: relative;
  padding: .5rem;
  background: var(--elev);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
}
.about__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(100% 80% at 80% 10%, var(--accent-soft) 0%, transparent 60%),
    var(--bg-2);
}
.about__art { width: 100%; height: 100%; }
.about__plate {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  padding: .35rem .6rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--ink-3);
  font-size: .5625rem;
}

.about__copy > * + * { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills li {
  padding: .45rem .85rem;
  border: 1px solid var(--rule-2);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: .625rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2);
  transition: border-color var(--t-fast) linear, color var(--t-fast) linear;
}
.pills li:hover { border-color: var(--accent-line); color: var(--accent-text); }
.about__copy .lede { max-width: 46ch; }
.about__copy .link-arrow { justify-self: start; }

/* ---------- 10. BRIEFING ------------------------------------------------- */

.briefing { padding: var(--section-y) 0; border-bottom: 1px solid var(--rule); }
.briefing__inner { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1024px) {
  .briefing__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(3rem, 7vw, 6rem); }
}
.briefing__copy .h2 { margin-bottom: .3em; }
.briefing__copy .lede { max-width: 44ch; }

.briefing__form {
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: var(--elev);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

/* ---------- 11. FINALE --------------------------------------------------- */

.finale {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 14vw, 10rem) 0;
  text-align: center;
}
.finale__glow {
  position: absolute; left: 50%; top: 45%;
  width: 90vw; height: 60vh; max-width: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--glow) 0%, transparent 72%);
  filter: blur(70px);
  opacity: .45;
  pointer-events: none;
}
.finale__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: clamp(1.5rem, 3vw, 2.25rem); }
.finale__title {
  font-size: clamp(2.1rem, 6.2vw, 5rem);
  font-weight: 800;
  max-width: 18ch;
  line-height: 1.02;
}
.finale__note { color: var(--ink-3); }
@media (max-width: 420px) { .finale .btn { width: 100%; } }

/* ---------- 12. FOOTER --------------------------------------------------- */

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--rule);
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 640px)  { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 2.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); } }

.footer__brand { display: grid; gap: 1.15rem; align-content: start; }
@media (min-width: 640px) and (max-width: 1023px) { .footer__brand { grid-column: 1 / -1; } }
.footer__brand p { color: var(--ink-3); font-size: .875rem; max-width: 34ch; }

.footer__col { display: grid; gap: .85rem; align-content: start; }
.footer__k { color: var(--accent-text); }
.footer__col ul { display: grid; gap: .1rem; }
.footer__col a {
  display: inline-flex; align-items: center;
  min-height: 2.75rem;
  color: var(--ink-2);
  font-size: .9375rem;
  transition: color var(--t-fast) linear, transform var(--t-fast) var(--ease-out);
}
.footer__col a:hover { color: var(--accent-text); transform: translateX(3px); }

/* "ADNAN KABIR" measures 5.87em at these settings — sized so the full
   wordmark always clears the shell instead of clipping at both ends. */
.footer__wordmark {
  font-size: clamp(1.85rem, 14.6vw, 12rem);
  font-weight: 900;
  font-stretch: 80%;
  line-height: .85;
  letter-spacing: -.035em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--rule-2);
  user-select: none;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.footer__base {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
}
.footer__loc { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink-3); }
