/*
Theme Name: Irfan Portfolio Minimal
Theme URI: https://example.com/
Author: Mohd Irfan
Description: A minimal, accessible one-page portfolio theme for WordPress.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: irfan-portfolio
*/

:root {
  --ink: #17212b;
  --muted: #52606d;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --line: #d6ded9;
  --pine: #155b4b;
  --pine-dark: #0d4035;
  --lime: #d8f259;
  --coral: #f28b74;
  --shadow: 0 18px 46px rgb(18 45 37 / 12%);
  --radius: 1.25rem;
  --content: 71rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--pine-dark); text-decoration-thickness: .11em; text-underline-offset: .18em; }
a:hover { color: var(--pine); }

:focus-visible { outline: 3px solid #164dff; outline-offset: 4px; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 1000;
  top: 5px;
  left: 5px;
  width: auto;
  height: auto;
  padding: .75rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  color: #fff;
  background: var(--pine-dark);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--pine-dark);
  border-radius: .5rem;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(100% - 2rem, var(--content));
  margin: 1rem auto 0;
  padding: .95rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgb(255 255 255 / 90%);
  border: 1px solid rgb(214 222 217 / 80%);
  border-radius: 999px;
  box-shadow: 0 8px 25px rgb(23 33 43 / 5%);
}

.brand { color: var(--ink); font-size: 1rem; font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-grid; place-items: center; width: 1.65rem; height: 1.65rem; margin-right: .45rem; color: var(--pine-dark); background: var(--lime); border-radius: 50%; font-size: .85rem; }

.main-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .25rem .75rem; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .35rem .15rem; color: var(--ink); font-size: .92rem; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--pine); text-decoration: underline; text-underline-offset: .28em; }

.section { width: min(100% - 2rem, var(--content)); margin: 0 auto; padding: 5.5rem 0; }
.eyebrow { display: inline-flex; gap: .45rem; align-items: center; margin: 0 0 1rem; color: var(--pine-dark); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: .65rem; height: .65rem; content: ""; background: var(--coral); border-radius: 50%; }

.hero { min-height: min(43rem, calc(100vh - 3rem)); display: grid; grid-template-columns: 1.45fr .75fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-top: 4rem; }
.hero h1 { max-width: 10ch; margin: 0; font-size: clamp(3.15rem, 8vw, 6.6rem); font-weight: 800; letter-spacing: -.075em; line-height: .91; }
.hero h1 em { color: var(--pine); font-family: Georgia, serif; font-weight: 500; }
.hero-copy { max-width: 36rem; margin: 1.65rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.15rem; color: #fff; background: var(--pine-dark); border: 2px solid var(--pine-dark); border-radius: .55rem; font-weight: 750; text-decoration: none; }
.button:hover { color: #fff; background: var(--pine); border-color: var(--pine); }
.button--secondary { color: var(--pine-dark); background: transparent; }
.button--secondary:hover { color: var(--pine-dark); background: var(--lime); border-color: var(--lime); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 21rem; }
.portrait { position: relative; z-index: 1; display: grid; place-items: center; width: clamp(14rem, 23vw, 19rem); aspect-ratio: 1; color: #fff; background: var(--pine); border: .7rem solid var(--surface); border-radius: 46% 54% 55% 45% / 45% 44% 56% 55%; box-shadow: var(--shadow); font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.1em; transform: rotate(-6deg); }
.shape { position: absolute; border-radius: 999px; }
.shape--lime { top: 4%; right: 5%; width: 6rem; height: 6rem; background: var(--lime); }
.shape--coral { bottom: 4%; left: 0; width: 7rem; height: 3.4rem; background: var(--coral); transform: rotate(-32deg); }
.availability { position: absolute; z-index: 2; right: -1rem; bottom: 16%; max-width: 12rem; padding: .8rem 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; box-shadow: var(--shadow); font-size: .84rem; font-weight: 700; transform: rotate(4deg); }
.availability span { display: block; color: var(--pine); font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .65fr); gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
h2 { max-width: 17ch; margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); letter-spacing: -.055em; line-height: .98; }
.section-intro { max-width: 34rem; margin: 0; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-card, .project-card, .contact-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.about-card { padding: 2rem; box-shadow: var(--shadow); }
.about-card h3 { margin: 0 0 1rem; font-size: 1.25rem; }
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.facts strong { font-size: .85rem; }
.facts span { color: var(--muted); text-align: right; }
.about-text p:first-child { margin-top: 0; font-size: 1.24rem; line-height: 1.55; }
.skills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.skills li { padding: .4rem .65rem; color: var(--pine-dark); background: #eaf3ef; border-radius: 999px; font-size: .88rem; font-weight: 700; }

.projects { padding-top: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.project-card { display: flex; flex-direction: column; overflow: hidden; }
.project-visual { min-height: 14.5rem; padding: 1.25rem; display: flex; align-items: end; }
.project-visual span { display: inline-block; max-width: 11ch; padding: .6rem .75rem; color: var(--ink); background: rgb(255 255 255 / 82%); border-radius: .4rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.project-visual--one { background: linear-gradient(130deg, #d8f259, #83c9c0); }
.project-visual--two { background: linear-gradient(135deg, #f7c3b5, #f28b74 50%, #ffc94a); }
.project-visual--three { background: linear-gradient(135deg, #b7c3ff, #6f7def); }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.project-type { margin: 0 0 .45rem; color: var(--pine); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.035em; }
.project-card p:not(.project-type) { color: var(--muted); }
.project-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: auto; font-weight: 800; }

.contact { padding-top: 0; padding-bottom: 6.5rem; }
.contact-panel { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); background: var(--pine-dark); border-color: var(--pine-dark); }
.contact-panel h2, .contact-panel p { color: #fff; }
.contact-panel h2 { max-width: 15ch; }
.contact-panel p { max-width: 37rem; margin: .75rem 0 0; color: #dcebe5; }
.contact-panel .button { color: var(--ink); background: var(--lime); border-color: var(--lime); white-space: nowrap; }
.contact-panel .button:hover { background: #fff; border-color: #fff; }
.contact-options { display: grid; min-width: min(100%, 17rem); gap: .55rem; margin: 0; padding: 0; list-style: none; }
.contact-option, .contact-location { display: flex; flex-direction: column; gap: .04rem; padding: .72rem .85rem; color: var(--ink); background: #fff; border: 1px solid #fff; border-radius: .55rem; font-size: .86rem; line-height: 1.35; text-decoration: none; }
.contact-option:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.contact-option span, .contact-location span { color: var(--pine-dark); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-option strong, .contact-location strong { font-size: .9rem; }
.contact-location { color: #fff; background: transparent; border-color: rgb(255 255 255 / 38%); }
.contact-location span { color: var(--lime); }

.site-footer { width: min(100% - 2rem, var(--content)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin: 0 auto; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); }

@media (max-width: 980px) and (min-width: 761px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 4.5rem; }
  .hero-art { max-width: 22rem; margin: 0 auto; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { border-radius: 1rem; align-items: flex-start; }
  .main-nav ul { justify-content: flex-start; }
  .hero, .about-grid, .section-heading, .contact-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 4.5rem; }
  .hero-art { min-height: 17rem; max-width: 22rem; margin: 0 auto; }
  .project-grid { grid-template-columns: 1fr; }
  .contact-panel .button { width: 100%; }
}

@media (max-width: 470px) {
  .site-header { display: block; }
  .main-nav { margin-top: .55rem; }
  .main-nav ul { justify-content: space-between; gap: .1rem .45rem; }
  .main-nav a { font-size: .84rem; }
  .section { width: min(100% - 1.5rem, var(--content)); padding: 4rem 0; }
  .hero { padding-top: 3.75rem; }
  .availability { right: -.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #34414a; --line: #68736f; }
  .site-header, .about-card, .project-card, .contact-panel { border-width: 2px; }
  .button, .contact-option { border-width: 2px; }
}

@media (forced-colors: active) {
  .button, .contact-option, .contact-location, .site-header, .about-card, .project-card { border: 2px solid CanvasText; }
  .shape { forced-color-adjust: none; }
}

/* Portfolio 2.0 — original editorial redesign */
:root {
  --ink: #f6f8fb;
  --muted: #b7c1cf;
  --paper: #080a0e;
  --surface: #11161f;
  --surface-raised: #171e29;
  --line: #2d3745;
  --pine: #caff3d;
  --pine-dark: #9ed91c;
  --lime: #caff3d;
  --coral: #ff806a;
  --blue: #7b8cff;
  --shadow: 0 26px 70px rgb(0 0 0 / 38%);
  --radius: 0;
  --content: 76rem;
}

html { background: var(--paper); }
body {
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(circle at 92% 0%, rgb(123 140 255 / 15%), transparent 25rem), radial-gradient(circle at 0% 28%, rgb(202 255 61 / 9%), transparent 25rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .23;
  background-image: linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
a { color: var(--lime); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
section[id] { scroll-margin-top: 6rem; }

.skip-link { color: #070a0c; background: var(--lime); border-radius: 0; font-weight: 850; }
.site-header {
  position: sticky;
  z-index: 30;
  top: .8rem;
  width: min(100% - 2rem, var(--content));
  min-height: 4.3rem;
  margin-top: .8rem;
  padding: .5rem .55rem .5rem 1.15rem;
  background: rgb(8 10 14 / 76%);
  border: 1px solid rgb(246 248 251 / 16%);
  border-radius: .7rem;
  box-shadow: 0 14px 40px rgb(0 0 0 / 22%);
  backdrop-filter: blur(18px);
}
.brand { color: #fff; font-size: 1rem; letter-spacing: -.02em; }
.brand:hover { color: var(--lime); }
.brand-mark { width: 1.9rem; height: 1.9rem; margin-right: .55rem; color: #080a0e; background: var(--lime); border-radius: .35rem; transform: rotate(-8deg); }
.main-nav ul { gap: .25rem; }
.main-nav a { padding-inline: .75rem; color: #e6ebf0; border-radius: .4rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #080a0e; background: var(--lime); text-decoration: none; }

.section { width: min(100% - 2rem, var(--content)); padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(49rem, calc(100vh - 2.2rem));
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
  gap: clamp(2.5rem, 7vw, 8.5rem);
  padding-top: clamp(6rem, 11vw, 10rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}
.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 4.5rem;
  width: min(48vw, 39rem);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgb(202 255 61 / 18%);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgb(202 255 61 / 4%), 0 0 0 8rem rgb(123 140 255 / 4%);
}
.eyebrow { gap: .55rem; color: var(--lime); font-size: .72rem; letter-spacing: .16em; }
.eyebrow::before { width: .7rem; height: .7rem; background: var(--coral); border-radius: 0; transform: rotate(45deg); }
.hero h1 { max-width: 11.5ch; font-size: clamp(3.65rem, 8.6vw, 8.2rem); font-weight: 850; letter-spacing: -.055em; line-height: .9; }
.hero h1 em { color: var(--lime); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-copy { max-width: 37rem; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.28rem); line-height: 1.6; }
.actions { gap: .7rem; }
.button { min-height: 3.15rem; padding: .75rem 1.05rem; color: #070a0c; background: var(--lime); border-color: var(--lime); border-radius: .38rem; box-shadow: 4px 4px 0 var(--coral); font-size: .92rem; letter-spacing: -.01em; }
.button:hover { color: #080a0e; background: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--blue); }
.button--secondary { color: var(--ink); background: transparent; border-color: rgb(246 248 251 / 28%); box-shadow: none; }
.button--secondary:hover { color: #080a0e; background: var(--lime); border-color: var(--lime); box-shadow: none; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; max-width: 45rem; margin: 2.8rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-proof li { display: grid; gap: .25rem; min-width: 0; }
.hero-proof span { color: #8390a2; font-size: .65rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-proof strong { font-size: .84rem; line-height: 1.3; }

.hero-art { min-height: 29rem; }
.hero-art::before { position: absolute; z-index: 0; width: clamp(16rem, 30vw, 28rem); aspect-ratio: 1; content: ""; border: 1px solid rgb(246 248 251 / 31%); border-radius: 48% 52% 60% 40% / 36% 42% 58% 64%; transform: rotate(25deg); }
.hero-art::after { position: absolute; z-index: 0; width: clamp(13rem, 24vw, 22rem); aspect-ratio: 1; content: ""; background: linear-gradient(135deg, var(--blue), var(--coral)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); opacity: .8; transform: rotate(16deg); }
.portrait { z-index: 2; width: clamp(15rem, 25vw, 22rem); color: var(--lime); background: #141c28; border: 1px solid rgb(246 248 251 / 48%); border-radius: .75rem; box-shadow: 14px 14px 0 var(--coral); font-size: clamp(4.4rem, 9vw, 7rem); letter-spacing: -.15em; transform: rotate(-6deg); }
.shape--lime { z-index: 3; top: 7%; right: 2%; width: 5rem; height: 5rem; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 .7rem rgb(202 255 61 / 13%); }
.shape--coral { z-index: 3; bottom: 6%; left: 2%; width: 7.4rem; height: 3.6rem; background: var(--coral); border-radius: .45rem; transform: rotate(-28deg); }
.availability { z-index: 4; right: -1.2rem; bottom: 12%; max-width: 13.5rem; padding: .9rem 1rem; color: #080a0e; background: var(--lime); border: 0; border-radius: 0; box-shadow: 6px 6px 0 var(--blue); font-size: .84rem; transform: rotate(3deg); }
.availability span { color: #455415; }

.section-heading { grid-template-columns: minmax(0, 1.15fr) minmax(15rem, .7fr); align-items: start; margin-bottom: clamp(2rem, 4vw, 4rem); padding-top: 1.1rem; border-top: 1px solid var(--line); }
h2 { max-width: 14.5ch; font-size: clamp(2.45rem, 5.2vw, 5.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .94; }
.section-intro { max-width: 31rem; color: var(--muted); font-size: 1.05rem; }
.about-grid { gap: clamp(2rem, 6vw, 7rem); }
.about-card, .project-card, .contact-panel { background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; }
.about-card { position: sticky; top: 6.3rem; padding: 1.4rem; box-shadow: none; }
.about-card h3 { color: var(--lime); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.facts li { display: grid; grid-template-columns: 1fr; gap: .25rem; padding: .9rem 0; border-color: var(--line); }
.facts strong { color: #8795a8; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.facts span { color: #fff; text-align: left; }
.about-text p:first-child { color: #fff; font-size: clamp(1.25rem, 2.1vw, 1.75rem); line-height: 1.4; }
.about-text p { color: var(--muted); }
.skills { gap: .45rem; }
.skills li { padding: .47rem .72rem; color: #080a0e; background: var(--lime); border-radius: .25rem; font-size: .79rem; }

.projects { padding-top: 0; }
.project-grid { gap: 1rem; }
.project-card { position: relative; min-height: 100%; overflow: hidden; border-radius: .65rem; transition: transform .24s ease, border-color .24s ease; }
.project-card:hover { border-color: var(--lime); transform: translateY(-.38rem); }
.project-visual { position: relative; min-height: 17rem; padding: 1.35rem; overflow: hidden; }
.project-visual::after { position: absolute; right: -2rem; bottom: -3rem; width: 13rem; aspect-ratio: 1; content: ""; border: 1px solid rgb(8 10 14 / 40%); border-radius: 50%; box-shadow: 0 0 0 1.1rem rgb(8 10 14 / 12%), 0 0 0 2.2rem rgb(8 10 14 / 10%); }
.project-visual span { position: relative; z-index: 1; max-width: 10ch; padding: 0; color: #080a0e; background: transparent; border-radius: 0; font-size: clamp(1.6rem, 2.7vw, 2.3rem); font-weight: 850; letter-spacing: -.035em; line-height: .96; }
.project-visual--one { background: var(--lime); }
.project-visual--two { background: var(--coral); }
.project-visual--three { background: var(--blue); }
.project-body { padding: 1.45rem; }
.project-type { color: var(--lime); font-size: .7rem; letter-spacing: .12em; }
.project-card h3 { color: #fff; font-size: 1.55rem; letter-spacing: -.025em; line-height: 1.12; }
.project-card p:not(.project-type) { color: var(--muted); }
.project-link { color: var(--lime); }
.project-link:hover { color: #fff; }

.contact { padding-top: 0; }
.contact-panel { position: relative; grid-template-columns: minmax(0, 1fr) minmax(15rem, .6fr); gap: clamp(2rem, 6vw, 7rem); padding: clamp(1.8rem, 5vw, 4rem); overflow: hidden; background: linear-gradient(135deg, var(--lime) 0%, #d9ff73 54%, var(--blue) 160%); border: 0; border-radius: .75rem; }
.contact-panel::after { position: absolute; right: -10rem; bottom: -13rem; width: 31rem; aspect-ratio: 1; content: ""; border: 1px solid rgb(8 10 14 / 24%); border-radius: 50%; box-shadow: 0 0 0 3rem rgb(8 10 14 / 7%), 0 0 0 6rem rgb(8 10 14 / 5%); }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel .eyebrow { color: #31450a; }
.contact-panel h2, .contact-panel p { color: #080a0e; }
.contact-panel h2 { max-width: 12ch; }
.contact-panel p { color: #263113; font-size: 1.04rem; }
.contact-options { min-width: 0; gap: .55rem; }
.contact-option, .contact-location { min-height: 3.1rem; color: #fff; background: #0c1016; border-color: #0c1016; border-radius: .4rem; }
.contact-option:hover { color: #080a0e; background: #fff; border-color: #fff; }
.contact-option span, .contact-location span { color: var(--lime); }
.contact-option strong, .contact-location strong { color: inherit; }
.contact-location { background: transparent; border-color: rgb(8 10 14 / 35%); }
.contact-location span { color: #31450a; }

.site-footer { width: min(100% - 2rem, var(--content)); padding: 1.6rem 0 2.4rem; border-color: var(--line); color: #91a0b3; }
.footer-links { gap: .5rem 1.2rem; }
.footer-links a { color: #e6ebf0; }
.footer-links a:hover { color: var(--lime); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { max-width: 29rem; margin: 1rem auto 0; }
  .hero::after { right: 12%; bottom: 2rem; width: 22rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-card { position: static; }
}
@media (max-width: 760px) {
  .site-header { top: .5rem; display: block; padding: .65rem .75rem; border-radius: .55rem; }
  .main-nav { margin-top: .35rem; }
  .main-nav ul { justify-content: space-between; }
  .main-nav a { min-height: 2.5rem; padding-inline: .55rem; }
  .section { width: min(100% - 1.5rem, var(--content)); }
  .hero { padding-top: 5.3rem; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.5rem); }
  .hero-proof { grid-template-columns: 1fr; gap: .75rem; }
  .hero-proof li { grid-template-columns: 7rem 1fr; align-items: baseline; }
  .section-heading, .about-grid, .contact-panel { grid-template-columns: 1fr; }
  .section-heading { gap: 1.25rem; }
  .project-grid { grid-template-columns: 1fr; }
  .contact-panel { gap: 1.6rem; }
  .availability { right: 0; }
}
@media (max-width: 420px) {
  .main-nav ul { justify-content: flex-start; }
  .main-nav a { font-size: .8rem; }
  .portrait { box-shadow: 8px 8px 0 var(--coral); }
  .hero-art { min-height: 23rem; }
  .shape--coral { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .project-card { transition: none; }
  .project-card:hover { transform: none; }
}
@media (prefers-contrast: more) {
  body { background-image: none; }
  .site-header, .about-card, .project-card { border-color: #fff; }
  .project-card h3, .about-text p:first-child { color: #fff; }
}

/* Minimal version — same palette, quieter composition */
:root {
  --ink: #f6f8fb;
  --muted: #b7c1cf;
  --paper: #080a0e;
  --surface: #11161f;
  --line: #2d3745;
  --lime: #caff3d;
  --coral: #ff806a;
  --blue: #7b8cff;
  --content: 70rem;
}
body { background: var(--paper); background-image: none; }
body::before { display: none; }
.site-header {
  position: relative;
  top: auto;
  min-height: auto;
  margin-top: 0;
  padding: 1.1rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.brand { font-size: .98rem; }
.brand-mark { width: 1.55rem; height: 1.55rem; margin-right: .4rem; border-radius: 50%; transform: none; }
.main-nav ul { gap: .45rem; }
.main-nav a { min-height: 2.5rem; padding-inline: .5rem; color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--lime); background: transparent; text-decoration: underline; text-underline-offset: .35rem; }
.section { width: min(100% - 2rem, var(--content)); padding: clamp(4rem, 7vw, 6.5rem) 0; }
.hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, .45fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.hero::after, .hero-art::before, .hero-art::after, .shape { display: none; }
.eyebrow { margin-bottom: .85rem; color: var(--lime); letter-spacing: .12em; }
.eyebrow::before { width: .45rem; height: .45rem; background: var(--coral); transform: none; }
.hero h1 { max-width: 12ch; font-size: clamp(3.25rem, 7.3vw, 6.5rem); letter-spacing: -.045em; line-height: .93; }
.hero h1 em { color: var(--lime); }
.hero-copy { max-width: 34rem; margin-top: 1.35rem; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.actions { margin-top: 1.65rem; }
.button { min-height: 3rem; border-radius: .3rem; box-shadow: none; }
.button:hover { box-shadow: none; }
.hero-proof { gap: 0; max-width: 34rem; margin-top: 2.2rem; padding: 0; border-top: 0; }
.hero-proof li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.hero-proof span { font-size: .62rem; }
.hero-proof strong { color: #e6ebf0; font-size: .8rem; }
.hero-art { min-height: auto; display: block; align-self: stretch; }
.portrait { display: grid; width: 100%; height: 100%; min-height: 15rem; aspect-ratio: auto; color: var(--lime); background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; box-shadow: none; font-size: clamp(4rem, 8vw, 6rem); transform: none; }
.availability { position: static; max-width: none; margin-top: .75rem; padding: .75rem 0; color: var(--muted); background: transparent; border-top: 1px solid var(--line); box-shadow: none; font-size: .78rem; transform: none; }
.availability span { color: var(--lime); }
.section-heading { grid-template-columns: minmax(0, 1fr) minmax(14rem, .62fr); gap: 2rem; margin-bottom: 2.5rem; padding-top: 0; border-top: 0; }
h2 { max-width: 15ch; font-size: clamp(2.35rem, 4.5vw, 4.2rem); letter-spacing: -.04em; line-height: .98; }
.section-intro { font-size: 1rem; }
.about-grid { gap: clamp(2rem, 5vw, 5rem); }
.about-card, .project-card, .contact-panel { border-color: var(--line); border-radius: .5rem; }
.about-card { position: static; padding: 1.3rem; background: transparent; }
.about-card h3 { color: var(--muted); font-size: .72rem; letter-spacing: .1em; }
.facts li { padding: .8rem 0; }
.facts strong { color: #8e9bad; }
.about-text p:first-child { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; }
.skills li { background: transparent; border: 1px solid #536073; border-radius: 999px; color: var(--lime); font-size: .78rem; }
.projects { padding-top: 0; }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.project-card { border-radius: .5rem; transition: border-color .18s ease; }
.project-card:hover { border-color: var(--lime); transform: none; }
.project-visual { min-height: 9rem; padding: 1.1rem; }
.project-visual::after { display: none; }
.project-visual span { max-width: 11ch; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; line-height: 1; }
.project-visual--one { background: var(--lime); }
.project-visual--two { background: var(--coral); }
.project-visual--three { background: var(--blue); }
.project-visual--four { background: #b6c0ff; }
.project-body { padding: 1.25rem; }
.project-card h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.project-link { min-height: 2.6rem; }
.contact { padding-top: 0; }
.contact-panel { grid-template-columns: minmax(0, 1fr) minmax(14rem, .6fr); gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: .5rem; }
.contact-panel::after { display: none; }
.contact-panel .eyebrow { color: var(--lime); }
.contact-panel h2, .contact-panel p { color: var(--ink); }
.contact-panel p { color: var(--muted); }
.contact-option, .contact-location { min-height: 2.85rem; color: var(--ink); background: transparent; border-color: var(--line); border-radius: .35rem; }
.contact-option:hover { color: var(--lime); background: transparent; border-color: var(--lime); }
.contact-option span, .contact-location span { color: var(--muted); }
.contact-location strong { color: var(--lime); }
.site-footer { border-color: var(--line); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: none; margin: 0; }
  .portrait { min-height: 11rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .site-header { display: block; padding: .75rem 0; }
  .main-nav { margin-top: .25rem; }
  .main-nav ul { justify-content: flex-start; }
  .section { width: min(100% - 1.5rem, var(--content)); }
  .hero { padding-top: 3.8rem; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li { grid-template-columns: 7rem 1fr; align-items: baseline; }
  .section-heading, .about-grid, .contact-panel, .project-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; }
}

/* Lead-generation components — minimal variant */
.credential-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.credential-card { min-width: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem); background: transparent; border: 1px solid var(--line); border-radius: .5rem; }
.credential-card h3 { margin: .65rem 0 1rem; color: #fff; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.025em; line-height: 1.14; }
.credential-card ul { display: grid; gap: .58rem; margin: 0; padding: 0; list-style: none; }
.credential-card li { position: relative; padding-left: 1rem; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.credential-card li::before { position: absolute; left: 0; color: var(--lime); content: "•"; }
.insights { padding-top: 0; }
.insights-panel { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: transparent; border: 1px solid var(--blue); border-radius: .5rem; }
.insights-panel .eyebrow { color: var(--lime); }
.insights-panel h2 { color: var(--ink); }
.insights-panel p { max-width: 36rem; margin-bottom: 0; color: var(--muted); }
.insights-panel .button--secondary { flex: 0 0 auto; }
.insight-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.company-proof { padding-top: 0; }
.proof-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .72fr); gap: clamp(2rem, 4vw, 4rem); padding: clamp(1.5rem, 3vw, 2.5rem); background: transparent; border: 1px solid var(--coral); border-radius: .5rem; }
.proof-panel h2 { color: var(--ink); }
.proof-panel p { max-width: 36rem; color: var(--muted); }
.proof-panel .button--secondary { margin-top: .5rem; }
.proof-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 0; list-style: none; }
.proof-stats li { display: grid; align-content: space-between; min-height: 7.25rem; padding: .9rem; border: 1px solid var(--line); border-radius: .35rem; }
.proof-stats strong { color: var(--lime); font-size: clamp(1.85rem, 3.5vw, 2.7rem); font-weight: 850; letter-spacing: -.06em; line-height: .95; }
.proof-stats span { color: var(--muted); font-size: .78rem; font-weight: 700; line-height: 1.35; }
.contact-panel { grid-template-columns: minmax(0, .9fr) minmax(20rem, 1.1fr); }
.contact-intro .contact-options { margin-top: 1.5rem; }
.lead-form-wrap { min-width: 0; padding: clamp(1rem, 2vw, 1.35rem); background: #0c1016; border: 1px solid var(--line); border-radius: .35rem; }
.lead-form { color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.form-field { display: grid; gap: .38rem; margin: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: #e9edf2; font-size: .82rem; font-weight: 750; line-height: 1.35; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 3rem; padding: .7rem .75rem; color: var(--ink); background: #11161f; border: 1px solid #536073; border-radius: .25rem; font: inherit; line-height: 1.35; }
.form-field textarea { min-height: 7rem; resize: vertical; }
.form-field select { appearance: auto; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid var(--lime); outline-offset: 2px; border-color: var(--lime); }
.lead-form .button { margin-top: 1.1rem; }
.form-note { margin: .8rem 0 0; color: var(--muted) !important; font-size: .8rem !important; line-height: 1.45; }
.form-notice { margin: 0 0 1rem; padding: .75rem .85rem; border-radius: .25rem; font-size: .88rem; line-height: 1.45; }
.form-notice--success { color: #eaffaf; background: #25340a; border: 1px solid var(--lime); }
.form-notice--error { color: #ffe3dd; background: #451b19; border: 1px solid var(--coral); }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

@media (max-width: 860px) {
  .credential-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .insights-panel { display: grid; align-items: start; }
  .insights-panel .button, .insight-actions { width: 100%; }
  .insight-actions { display: grid; justify-content: stretch; }
  .proof-panel { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
}
@media (max-width: 400px) {
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stats li { min-height: 5.75rem; }
}
@media (forced-colors: active) {
  .credential-card, .lead-form-wrap, .form-field input, .form-field select, .form-field textarea, .form-notice, .proof-panel, .proof-stats li { border: 2px solid CanvasText; }
}

/* Accessibility hardening: controls remain distinguishable in every state. */
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #080a0e; }
.button--secondary { color: #f6f8fb; background: #11161f; border-color: #aebccc; }
.button--secondary:hover, .button--secondary:focus-visible { color: #080a0e; background: var(--lime); border-color: var(--lime); }
.hero .actions .assessment-cta, .lead-form .assessment-submit { color: #fff; background: #1f2937; border: 2px solid var(--lime); box-shadow: none; font-weight: 850; }
.hero .actions .assessment-cta:hover, .hero .actions .assessment-cta:focus-visible, .lead-form .assessment-submit:hover, .lead-form .assessment-submit:focus-visible { color: #080a0e; background: var(--lime); border-color: var(--lime); }
.form-field input, .form-field select, .form-field textarea { border-color: #718096; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #c3ccd6; opacity: 1; }
.contact-option, .contact-location { border-color: #718096; }
.contact-option:hover { border-color: var(--lime); }
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight; outline-offset: 3px; box-shadow: none; }
}
