/* ================================================================
   NICOLE / EDITORIAL PORTFOLIO
   Warm, modern, accessible, framework-free CSS.
   Colors and type are centralized here for easy future adjustments.
   ================================================================ */

:root {
  --bg-primary: #FAF7F5;
  --bg-card: #FFFDFB;
  --border-subtle: #EFE5E0;
  --accent-primary: #D88C9A;
  --accent-secondary: #B56576;
  --text-primary: #2D2424;
  --text-muted: #6E5D5D;

  --bg-peach: #F6E9E5;
  --bg-blush: #F5E7E5;
  --accent-pale: #EFC6CA;
  --accent-ink: #9E5667;
  --shadow-soft: 0 28px 80px -40px rgba(84, 45, 52, 0.18);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", Arial, sans-serif;
  --font-handwriting: "Caveat", cursive;
  --container: 1192px;
  --header-height: 86px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base / accessibility */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 22px); }
body { margin: 0; min-width: 320px; background: var(--bg-primary); color: var(--text-primary); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
::selection { background: var(--accent-pale); color: var(--text-primary); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
svg { display: block; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent-secondary); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 92px), var(--container)); margin: 0 auto; }
.section { position: relative; }
.skip-link { position: fixed; z-index: 2000; top: -70px; left: 20px; background: var(--text-primary); color: #fff; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 14px; }

/* Strict typography */
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; }
h1 em, h2 em { color: var(--accent-secondary); font-style: italic; }
p { font-size: 1.0625rem; line-height: 1.7; font-weight: 400; max-width: 65ch; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem; line-height: 1.55; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-secondary); }

/* Buttons */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 0 23px; border: 1px solid transparent; border-radius: 8px; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; white-space: nowrap; transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out, background 0.3s ease-out, color 0.3s ease-out; }
.button svg { width: 17px; height: 17px; flex: none; transition: transform 0.3s ease-out; }
.button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 25px -5px rgba(216, 140, 154, 0.4); }
.button:hover .arrow-icon { transform: translateX(4px); }
.button:active { transform: translateY(0) scale(0.99); }
.button--primary { color: #fff; background: var(--text-primary); border-color: var(--text-primary); }
.button--primary:hover { background: var(--accent-secondary); border-color: var(--accent-secondary); }
.button--outline { color: var(--text-primary); background: transparent; border-color: #DCCBC7; }
.button--outline:hover { background: #FFFDFC; border-color: var(--accent-primary); }
.button--soft { background: #F4E6E3; color: var(--text-primary); border-color: transparent; }
.button--soft:hover { background: #EFDAD8; }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; width: 100%; height: var(--header-height); background: rgba(250, 247, 245, 0.82); border-bottom: 1px solid rgba(239, 229, 224, 0.83); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow 0.3s ease, background 0.3s ease; }
.site-header.is-scrolled { background: rgba(250, 247, 245, 0.94); box-shadow: 0 14px 30px -26px rgba(45, 36, 36, 0.24); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { position: relative; display: flex; align-items: baseline; gap: 11px; flex: none; }
.brand-symbol { display: grid; place-items: center; height: 43px; width: 43px; border: 1px solid var(--text-primary); border-radius: 50%; font-family: var(--font-display); font-size: 27px; line-height: 1; letter-spacing: -0.04em; padding-bottom: 5px; }
.brand-wordmark { font-family: var(--font-display); font-size: 27px; letter-spacing: -0.045em; }
.brand-dot { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-primary); margin-left: -10px; margin-bottom: 1px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 18px; }
.desktop-nav a { font-size: 13px; font-weight: 500; color: #5F5353; transition: color 0.2s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--accent-secondary); }
.button--header { min-height: 44px; padding: 0 17px; color: var(--text-primary); background: #F6E4E4; border-color: #F6E4E4; font-size: 11px; }
.button--header:hover { background: #EFCDD2; }
.button--header svg { width: 15px; height: 15px; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* Hero */
.hero { padding-top: 106px; overflow: hidden; }
.botanical { position: absolute; pointer-events: none; opacity: 0.15; color: #D88C9A; }
.botanical--hero { top: -14px; left: -105px; width: 380px; transform: rotate(-12deg); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); align-items: center; gap: clamp(38px, 5vw, 85px); }
.hero-copy { position: relative; z-index: 2; padding-bottom: 14px; }
.hero-eyebrow { max-width: 100%; color: var(--accent-secondary); }
.sparkle-svg { width: 23px; height: 23px; flex: none; }
.hero h1 { max-width: 690px; margin: 26px 0 23px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.hero-description { max-width: 520px; color: var(--text-muted); margin-bottom: 29px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-availability { display: flex; align-items: center; gap: 10px; margin-top: 34px; font-size: 12px; color: var(--text-muted); }
.availability-indicator { width: 8px; height: 8px; flex: none; background: #96A98D; box-shadow: 0 0 0 4px rgba(150, 169, 141, 0.15); border-radius: 50%; }

/* Hero editorial CSS art, no external imagery */
.hero-art { position: relative; display: grid; place-items: center; height: 532px; min-width: 0; }
.hero-art-outer { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.hero-art-outer::before { content: ""; position: absolute; inset: 35px 23px 34px 0; border-radius: 44% 55% 48% 52% / 54% 41% 59% 45%; background: #F4E3E2; transform: rotate(-8deg); }
.hero-art-outer::after { content: ""; position: absolute; width: 185px; height: 185px; border-radius: 50%; top: 28px; right: -30px; border: 1px solid rgba(181, 101, 118, 0.18); }
.art-side-caption { position: absolute; top: 39px; left: -8px; transform-origin: center; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; color: var(--accent-secondary); z-index: 3; }
.art-paper { position: absolute; width: 340px; height: 411px; background: #FFFEFC; border: 1px solid rgba(169, 130, 127, 0.15); box-shadow: 0 20px 75px -28px rgba(75, 45, 50, 0.18); }
.art-paper--back { z-index: 1; transform: translate(32px, -8px) rotate(9deg); background: #E8C6C7; }
.art-paper--back::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.5); inset: 15px; }
.art-paper--front { z-index: 2; transform: translate(-3px, 12px) rotate(-4deg); padding: 28px 31px; overflow: hidden; }
.paper-topline { display: flex; justify-content: space-between; font-size: 9px; font-weight: 600; letter-spacing: 0.14em; color: #8F7274; }
.paper-heading { font-family: var(--font-display); font-size: 43px; line-height: 1.03; letter-spacing: -0.04em; margin: 43px 0 14px; max-width: 230px; }
.paper-heading i { font-weight: 400; color: var(--accent-secondary); }
.paper-intro { font-size: 11px; line-height: 1.65; max-width: 230px; color: #756363; }
.paper-rule { height: 1px; background: #E8D8D5; margin: 31px 0 12px; }
.paper-row { display: flex; align-items: center; gap: 13px; border-bottom: 1px solid #EFE7E4; min-height: 35px; }
.paper-row-num { font-size: 9px; font-weight: 600; color: var(--accent-secondary); }
.paper-row-label { font-size: 10px; color: #4F4141; }
.paper-row-line { height: 1px; flex: 1; background: #F1E7E4; }
.paper-seal { position: absolute; width: 96px; height: 96px; right: 16px; top: 162px; color: var(--accent-primary); opacity: .5; transform: rotate(15deg); }
.art-sticker { position: absolute; z-index: 4; bottom: 34px; left: 4px; width: 150px; min-height: 92px; padding: 18px 14px 8px; transform: rotate(7deg); background: #F9EBD7; box-shadow: 0 12px 28px -15px rgba(80, 51, 51, 0.2); text-align: center; font-family: var(--font-handwriting); font-size: 20px; color: #936C6B; }
.art-sticker strong { display: block; font-size: 30px; font-weight: 500; line-height: 1; }
.art-sticker svg { position: absolute; width: 35px; right: 7px; bottom: -19px; }
.art-sparkle { position: absolute; z-index: 3; right: 7px; top: 75px; width: 50px; color: var(--accent-secondary); }
.hero-footer { position: relative; z-index: 2; display: flex; align-items: center; gap: 27px; margin-top: 100px; border-top: 1px solid var(--border-subtle); min-height: 85px; }
.hero-footer > span { font-size: 10px; color: var(--accent-secondary); letter-spacing: 0.16em; font-weight: 600; }
.hero-specialties { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-specialties span { position: relative; font-size: 12px; color: #605252; }
.hero-specialties span + span::before { content: ""; display: inline-block; height: 3px; width: 3px; background: var(--accent-primary); border-radius: 50%; vertical-align: middle; margin-right: 24px; }
.hero-scroll-link { display: flex; align-items: center; gap: 9px; margin-left: auto; font-size: 10px; font-weight: 600; letter-spacing: 0.13em; color: var(--accent-secondary); white-space: nowrap; }
.hero-scroll-link svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.hero-scroll-link:hover svg { transform: translateY(4px); }

/* About */
.about-section { padding: 137px 0 128px; background: #FFFDFC; border-top: 1px solid rgba(239, 229, 224, 0.72); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(60px, 10vw, 144px); }
.about-heading h2 { margin: 25px 0 0; max-width: 410px; }
.about-flourish { color: #C98790; width: 130px; margin: 38px 0 0 100px; }
.about-body { padding-top: 2px; }
.about-body p { margin-bottom: 19px; color: var(--text-muted); }
.about-body .about-lead { font-size: 18px; color: var(--text-primary); }
.values-grid { display: grid; gap: 0; margin-top: 38px; }
.value-item { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 13px; padding: 17px 0; border-top: 1px solid var(--border-subtle); }
.value-item-num { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--accent-secondary); }
.value-item h3 { margin-bottom: 5px; font-size: 14px; }
.value-item p { font-size: 13px; line-height: 1.6; margin: 0; }
.tools-panel { display: grid; grid-template-columns: 230px 1fr; gap: 25px; align-items: start; margin-top: 75px; padding: 29px 32px; border: 1px solid var(--border-subtle); background: var(--bg-primary); border-radius: 10px; }
.tools-heading { margin-top: 10px; }
.tools-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tool-pill { display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid #E9DBD6; border-radius: 999px; background: var(--bg-card); color: var(--text-primary); font-size: 12px; font-weight: 500; }
.tool-pill svg { width: 13px; height: 13px; flex: none; color: var(--accent-secondary); }


/* Nicole About Photo Design */
.about-photo-card {
  position: relative;
  isolation: isolate;
  width: min(100% - 32px, 365px);
  margin: 48px auto 12px 12px;
  padding: 13px 13px 17px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 65px -25px rgba(94, 53, 65, .25);
  transform: rotate(-2deg);
  transition: transform .35s ease, box-shadow .35s ease;
}

.about-photo-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 32px 70px -25px rgba(94, 53, 65, .3);
}

.about-photo-card::before {
  content: "";
  position: absolute;
  inset: -15px 17px 18px -18px;
  z-index: -1;
  background: #F2D9DC;
  border: 1px solid #EBC9CF;
  transform: rotate(-5deg);
}

.about-photo-window {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #F5E9E7;
  border-radius: 140px 140px 3px 3px;
}

.about-photo-window img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-photo-edge {
  position: absolute;
  z-index: 3;
  width: 120px;
  height: auto;
  color: var(--accent-secondary);
  pointer-events: none;
  filter: drop-shadow(0 2px 1px rgba(255, 253, 251, .7));
}

.about-photo-edge--left {
  left: -48px;
  top: 24%;
  transform: rotate(-11deg);
}

.about-photo-edge--right {
  right: -52px;
  bottom: 5%;
  width: 135px;
  transform: rotate(10deg);
}

.about-photo-star {
  position: absolute;
  z-index: 4;
  width: 43px;
  right: -18px;
  top: 27px;
  color: var(--accent-secondary);
}

.about-photo-caption {
  position: relative;
  padding: 13px 5px 2px;
  font-family: var(--font-handwriting);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent-secondary);
  text-align: center;
  transform: rotate(-2deg);
}

@media (max-width: 900px) {
  .about-photo-card {
    width: min(100% - 55px, 360px);
    margin: 36px auto 25px;
  }
}

@media (max-width: 480px) {
  .about-photo-card {
    width: min(100% - 50px, 310px);
    margin-top: 30px;
  }

  .about-photo-edge--left {
    width: 95px;
    left: -37px;
  }

  .about-photo-edge--right {
    width: 105px;
    right: -39px;
  }

  .about-photo-caption {
    font-size: 1.5rem;
  }
}
/* Projects */
.projects-section { padding: 132px 0 143px; background: var(--bg-primary); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 45px; }
.section-intro h2 { margin: 21px 0 0; max-width: 550px; }
.section-intro > p { max-width: 335px; font-size: 17px; color: var(--text-muted); margin-bottom: 5px; }
.projects-list { display: grid; gap: 34px; margin-top: 58px; }
.project-card { display: grid; grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr); background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 13px; overflow: visible; box-shadow: 0 10px 40px -40px rgba(90, 60, 60, .35); transition: transform 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out; }
.project-card:hover { transform: translateY(-5px); border-color: var(--accent-primary); box-shadow: 0 30px 65px -50px rgba(137, 79, 89, .45); }
.project-card:nth-child(even) .project-visual { order: 2; border-radius: 0 12px 12px 0; }
.project-card:nth-child(even) .project-content { order: 1; }
.project-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 510px; padding: 38px 30px; overflow: hidden; border-radius: 12px 0 0 12px; }
.project-visual--agency { background: #EDE8E5; }
.project-visual--agency::before { position: absolute; content: ""; width: 320px; height: 320px; background: #E4D4D0; border-radius: 50%; right: -86px; top: -72px; }
.project-visual--agency::after { position: absolute; content: ""; width: 440px; height: 440px; border: 1px solid #DAC6C3; border-radius: 50%; left: -240px; bottom: -320px; }
.agency-browser { position: relative; width: 100%; max-width: 412px; height: 285px; overflow: hidden; border-radius: 7px; border: 1px solid #D4CECB; background: #FEFEFC; box-shadow: 0 23px 54px -27px rgba(48, 40, 40, .3); transform: rotate(-4deg); }
.browser-top { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 11px; background: #F4F2EF; border-bottom: 1px solid #E8E2DF; }
.browser-top i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #D2BAB5; }
.browser-top span { font-size: 7px; letter-spacing: 0.1em; margin-left: auto; color: #827979; }
.browser-body { display: flex; flex-direction: column; gap: 8px; padding: 31px 26px; }
.browser-kicker { font-size: 7px; letter-spacing: 0.2em; font-weight: 600; color: #866E71; }
.browser-title { max-width: 260px; font-family: var(--font-display); font-size: 33px; line-height: 1.02; letter-spacing: -0.035em; }
.browser-title em { color: var(--accent-secondary); }
.browser-text { max-width: 220px; font-size: 9px; line-height: 1.7; color: #7A6F6F; }
.browser-cta { display: inline-flex; align-items: center; justify-content: center; width: 100px; min-height: 25px; background: #342B2B; color: #fff; font-size: 7px; font-weight: 500; letter-spacing: 0.05em; margin-top: 6px; border-radius: 2px; }
.browser-art-circle { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: #E3D3D0; right: -40px; bottom: -32px; }
.browser-art-line { position: absolute; right: 12px; top: 40px; width: 110px; height: 1px; background: #CAB0AA; transform: rotate(-45deg); }
.project-visual--gumroad { background: #EAD9D8; }
.project-visual--gumroad::before { position: absolute; content: ""; width: 290px; height: 290px; border-radius: 50%; background: #DFBFC0; left: -135px; top: -135px; }
.project-visual--gumroad::after { position: absolute; content: ""; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; right: -165px; bottom: -160px; }
.product-mockup { position: relative; width: 255px; height: 355px; padding: 22px 24px; background: #F5E6DD; border: 1px solid rgba(255,255,255,.8); box-shadow: 16px 19px 0 -5px #BD9D9F, 22px 28px 46px -23px rgba(62, 40, 42, .5); transform: rotate(6deg); }
.product-mockup::before { content: ""; position: absolute; inset: 13px; border: 1px solid #CEADA8; pointer-events: none; }
.product-mockup-top { position: relative; z-index: 1; font-size: 8px; font-weight: 600; letter-spacing: 0.18em; color: #9C7071; }
.product-mockup-flower { position: absolute; top: 62px; right: 20px; width: 127px; color: #CA9A9A; }
.product-mockup-title { position: relative; z-index: 1; max-width: 215px; margin-top: 105px; font-family: var(--font-display); font-size: 35px; line-height: 0.99; letter-spacing: -0.04em; }
.product-mockup-title em { color: #A46975; }
.product-mockup-bottom { position: absolute; bottom: 31px; left: 25px; font-size: 9px; letter-spacing: 0.1em; color: #966F73; }
.project-visual-stamp { position: absolute; z-index: 1; display: grid; place-items: center; right: 25px; bottom: 20px; width: 80px; height: 80px; border: 1px solid #AD818A; color: #A36F7D; border-radius: 50%; transform: rotate(-12deg); font-family: var(--font-handwriting); font-size: 25px; text-align: center; line-height: .75; }
.project-content { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 43px clamp(32px, 4.5vw, 62px) 40px; }
.project-topline { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 23px; }
.project-topline .eyebrow { font-size: 10px; }
.project-index { font-family: var(--font-display); font-size: 24px; font-style: italic; color: #CBA6AA; }
.project-content h3 { max-width: 480px; margin: 0 0 7px; font-family: var(--font-body); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.project-client { display: block; font-size: 12px; color: var(--accent-secondary); font-weight: 600; margin: 0 0 18px; }
.project-description { color: var(--text-muted); font-size: 17px; line-height: 1.7; margin-bottom: 22px; }
.project-meta { display: grid; gap: 14px; padding-top: 17px; border-top: 1px solid var(--border-subtle); }
.project-meta-label { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: #947F7D; text-transform: uppercase; }
.project-meta-value { font-size: 12px; line-height: 1.65; color: #514444; }
.project-tool-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tool-tag { display: inline-block; background: #F8F0ED; padding: 5px 9px; border-radius: 4px; font-size: 10px; color: #756160; }
.project-deliverables { display: grid; gap: 5px; list-style: none; margin: 0; padding: 0; }
.project-deliverables li { position: relative; padding-left: 13px; font-size: 11px; line-height: 1.6; color: #675B5A; }
.project-deliverables li::before { position: absolute; content: ""; width: 4px; height: 4px; left: 0; top: 7px; background: var(--accent-primary); border-radius: 50%; }
.project-bottom { position: relative; display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 28px; }
.project-link { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--accent-primary); transition: color 0.25s ease; }
.project-link:hover { color: var(--accent-secondary); }
.project-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.project-link:hover svg { transform: translate(3px, -3px); }
.project-callout { position: relative; display: flex; align-items: center; gap: 4px; flex: none; max-width: 160px; color: var(--accent-secondary); transform: rotate(-2deg); font-family: var(--font-handwriting); font-size: 1.35rem; line-height: 1; text-align: center; }
.project-callout svg { position: absolute; width: 65px; height: 44px; left: -62px; top: 4px; overflow: visible; }
.project-callout .arrow-path { stroke-dasharray: 112; stroke-dashoffset: 112; transition: stroke-dashoffset 1.2s .35s var(--ease-out); }
.project-card.is-visible .project-callout .arrow-path { stroke-dashoffset: 0; }
.project-placeholder { display: block; margin-top: 8px; font-size: 10px; color: #9B7E7F; }

/* CV editorial card */
.resume-section { padding: 0 0 132px; }
.resume-card { display: grid; grid-template-columns: 1.07fr .93fr; position: relative; min-height: 535px; overflow: hidden; background: #F4E6E5; border: 1px solid #EFDAD8; border-radius: 13px; }
.resume-copy { position: relative; z-index: 2; padding: 80px 0 55px clamp(40px, 6vw, 84px); }
.resume-copy h2 { max-width: 460px; margin: 24px 0 18px; }
.resume-copy > p { max-width: 420px; margin-bottom: 29px; color: #705E5D; font-size: 17px; }
.resume-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.cv-upload { display: grid; justify-items: start; gap: 8px; margin-top: 27px; max-width: 400px; }
.file-upload-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: #8A5963; letter-spacing: 0.02em; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.file-upload-label:hover { color: var(--text-primary); }
.file-upload-label svg { width: 15px; height: 15px; }
#cv-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
#cv-file:focus-visible + p { outline: 2px solid var(--accent-secondary); }
.cv-upload > p { font-size: 11px; line-height: 1.6; margin: 0; color: #806E6E; }
.cv-upload .cv-file-status { min-height: 15px; color: #8D5360; font-weight: 600; }
.resume-art { position: relative; min-height: 535px; }
.resume-art-circle { position: absolute; width: 550px; height: 550px; border: 1px solid rgba(181,101,118,0.17); border-radius: 50%; top: -48px; right: -197px; }
.resume-art-circle::before { content: ""; position: absolute; width: 410px; height: 410px; border: 1px solid rgba(181,101,118,0.17); border-radius: 50%; top: 69px; left: 69px; }
.resume-document { position: absolute; top: 59px; left: 70px; width: 315px; height: 450px; padding: 27px 31px; transform: rotate(8deg); background: #FFFDFB; box-shadow: 0 35px 80px -38px rgba(76,40,48,.3); border: 1px solid rgba(255,255,255,0.9); }
.doc-header { display: flex; justify-content: space-between; align-items: center; color: #A07F7F; }
.doc-header span:first-child { font-family: var(--font-display); font-size: 25px; color: #C18690; }
.doc-header span:last-child { font-size: 8px; font-weight: 600; letter-spacing: 0.16em; }
.doc-name { margin-top: 33px; font-family: var(--font-display); font-size: 47px; }
.doc-role { margin-top: -2px; font-size: 8px; letter-spacing: 0.14em; color: #AD818A; }
.doc-rule { height: 1px; background: #EAD9D6; margin: 27px 0 25px; }
.doc-label { font-size: 8px; font-weight: 700; letter-spacing: 0.16em; color: #8A636A; margin-bottom: 15px; }
.doc-bar { height: 5px; background: #EEE4DF; margin-bottom: 9px; border-radius: 2px; }
.doc-bar--long { width: 100%; }.doc-bar--medium { width: 86%; }.doc-bar--short { width: 65%; }
.doc-label--second { margin-top: 34px; }
.doc-chip-row { display: flex; gap: 7px; margin-bottom: 7px; }
.doc-chip-row span { font-size: 7px; font-weight: 600; letter-spacing: .08em; padding: 6px 8px; border: 1px solid #ECD9D7; color: #886D6C; }
.doc-flower { position: absolute; right: 22px; bottom: 18px; width: 55px; color: #D7A5A7; opacity: 0.65; }
.resume-scribble { position: absolute; z-index: 3; font-family: var(--font-handwriting); font-size: 30px; color: #A76373; transform: rotate(-10deg); right: 9px; bottom: 44px; }

/* Contact + footer */
.contact-section { padding: 120px 0 126px; border-top: 1px solid var(--border-subtle); background: #FFFDFC; text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-sparkle { width: 44px; color: var(--accent-primary); margin-bottom: 27px; }
.contact-section h2 { max-width: 690px; margin: 22px auto 19px; font-size: clamp(2rem, 3.5vw, 3rem); }
.contact-description { max-width: 500px; font-size: 17px; margin-bottom: 31px; color: var(--text-muted); }
.contact-actions { display: flex; align-items: center; justify-content: center; gap: 11px; flex-wrap: wrap; }
.contact-email { margin-top: 18px; font-size: 14px; color: #916B6D; border-bottom: 1px solid #D8B9B6; padding-bottom: 5px; }
.contact-email:hover { color: var(--accent-secondary); }
.placeholder-note { margin: 10px 0 0; color: #9B767B; font-size: 11px; }
.contact-socials { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 35px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 1px solid var(--border-subtle); border-radius: 7px; font-size: 11px; font-weight: 600; color: #655555; transition: transform .25s ease, border-color .25s ease, color .25s ease; }
.social-link:hover { transform: translateY(-3px); color: var(--accent-secondary); border-color: var(--accent-primary); }
.social-link svg { width: 17px; height: 17px; }
.site-footer { background: #FFFDFC; border-top: 1px solid var(--border-subtle); }
.footer-inner { min-height: 89px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { font-family: var(--font-display); font-size: 25px; letter-spacing: -.04em; }
.footer-brand span { color: var(--accent-secondary); }
.footer-inner > span { font-size: 11px; color: var(--text-muted); }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; }
.back-to-top svg { width: 15px; height: 15px; transition: transform .25s ease; }
.back-to-top:hover svg { transform: translateY(-4px); }

/* CV preview modal */
.modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 25px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(40, 31, 34, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-panel { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(100%, 1000px); height: min(88vh, 900px); overflow: hidden; background: var(--bg-card); border-radius: 12px; box-shadow: 0 38px 95px rgba(22, 17, 19, .3); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 22px; border-bottom: 1px solid var(--border-subtle); }
.modal-header .eyebrow { font-size: 9px; }
.modal-header h2 { font-size: 26px; margin: 4px 0 0; }
.modal-close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: #F7EEEE; border: 1px solid var(--border-subtle); border-radius: 7px; color: var(--text-primary); }
.modal-close:hover { background: #EFDADB; }
.modal-close svg { width: 21px; height: 21px; }
#cv-frame { width: 100%; flex: 1; border: 0; min-height: 0; background: #e8e8e8; }
.modal-footer { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 13px 22px; border-top: 1px solid var(--border-subtle); }
.modal-footer p { margin: 0; color: var(--text-muted); font-size: 11px; }
.modal-footer a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-secondary); font-size: 11px; font-weight: 700; }
.modal-footer svg { width: 16px; height: 16px; }
.toast { position: fixed; z-index: 1100; bottom: 26px; left: 50%; max-width: calc(100% - 35px); padding: 13px 18px; background: #332829; color: white; font-size: 12px; border-radius: 7px; box-shadow: var(--shadow-soft); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Reveal / SVG draw */
.js-enabled [data-reveal], .js-enabled .project-card[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js-enabled [data-reveal].is-visible, .js-enabled .project-card[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Tablet */
@media (max-width: 1100px) {
  .desktop-nav { gap: 20px; }
  .hero-grid { gap: 26px; }
  .hero-art { transform: scale(.88); transform-origin: center; }
  .hero h1 { font-size: clamp(2.7rem, 4.9vw, 3.9rem); }
  .hero-footer { margin-top: 60px; }
  .about-grid { gap: 55px; }
  .project-content { padding: 38px 34px; }
  .project-visual { min-height: 530px; }
  .resume-document { left: 34px; }
}
@media (max-width: 900px) {
  :root { --header-height: 74px; }
  .container { width: min(calc(100% - 52px), var(--container)); }
  .desktop-nav, .button--header { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 43px; height: 43px; background: transparent; border: 1px solid #E6D6D1; border-radius: 6px; }
  .menu-toggle svg { width: 25px; height: 25px; }
  .menu-line { transition: transform .25s ease; transform-origin: center; }
  .menu-toggle[aria-expanded="true"] .menu-line--top { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-line--bottom { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: var(--header-height); left: 0; right: 0; display: flex; flex-direction: column; padding: 10px 26px 22px; border-bottom: 1px solid var(--border-subtle); background: rgba(250,247,245,.97); box-shadow: 0 23px 37px -30px rgba(45,36,36,.3); opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility .25s ease; }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .mobile-nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--border-subtle); font-size: 13px; font-weight: 600; }
  .hero { padding-top: 65px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero h1 { max-width: 650px; font-size: clamp(3.1rem, 7.4vw, 4.5rem); }
  .hero-art { height: 480px; max-width: 560px; width: 100%; margin: 5px auto 0; transform: none; }
  .hero-footer { margin-top: 45px; }
  .about-section { padding: 95px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .about-heading h2 { max-width: 630px; }
  .about-flourish { display: none; }
  .about-body { max-width: 640px; }
  .tools-panel { grid-template-columns: 1fr; gap: 12px; margin-top: 45px; }
  .projects-section { padding: 100px 0 110px; }
  .project-card { grid-template-columns: minmax(0, 0.87fr) minmax(0, 1.13fr); }
  .project-visual { min-height: 580px; padding: 20px; }
  .agency-browser { transform: rotate(-3deg) scale(.9); }
  .product-mockup { transform: rotate(6deg) scale(.9); }
  .project-content { padding: 32px 25px; }
  .project-callout { display: none; }
  .resume-copy { padding-left: 43px; }
  .resume-document { transform: rotate(8deg) scale(.83); transform-origin: top left; }
  .resume-scribble { right: 2px; }
}

/* Mobile */
@media (max-width: 680px) {
  .container { width: min(calc(100% - 38px), var(--container)); }
  .brand-symbol { width: 37px; height: 37px; font-size: 24px; }
  .brand-wordmark { font-size: 25px; }
  .hero { padding-top: 62px; }
  .botanical--hero { width: 235px; left: -146px; top: -28px; }
  .hero-eyebrow { gap: 8px; font-size: 10px; letter-spacing: .105em; }
  .sparkle-svg { width: 18px; height: 18px; }
  .hero h1 { margin-top: 23px; font-size: clamp(2.8rem, 11vw, 4.1rem); }
  .hero-description { font-size: 17px; line-height: 1.7; }
  .hero-actions .button { min-height: 49px; font-size: 10px; padding: 0 15px; }
  .hero-availability { margin-top: 25px; }
  .hero-art { height: 385px; margin-top: 17px; }
  .hero-art-outer { transform: scale(.75); transform-origin: center; width: 540px; max-width: none; }
  .hero-footer { min-height: auto; padding: 26px 0; margin-top: -4px; flex-wrap: wrap; gap: 12px 15px; }
  .hero-footer > span { flex-basis: 100%; }
  .hero-specialties { gap: 10px; }
  .hero-specialties span { font-size: 10px; }
  .hero-specialties span + span::before { margin-right: 10px; }
  .hero-scroll-link { width: 100%; margin: 10px 0 0; font-size: 9px; }
  .about-section { padding: 82px 0; }
  .about-heading h2 { margin-top: 15px; }
  .about-body .about-lead { font-size: 16px; }
  .about-body p { font-size: 17px; }
  .tools-panel { margin-top: 35px; padding: 21px 19px; }
  .tool-pill { font-size: 10px; padding: 10px 11px; }
  .projects-section { padding: 90px 0 95px; }
  .section-intro { display: block; }
  .section-intro h2 { margin-top: 17px; }
  .section-intro > p { margin-top: 17px; font-size: 13px; }
  .projects-list { margin-top: 36px; gap: 25px; }
  .project-card { display: flex; flex-direction: column; }
  .project-card:nth-child(even) .project-visual { order: 0; border-radius: 12px 12px 0 0; }
  .project-card:nth-child(even) .project-content { order: 1; }
  .project-visual { min-height: 330px; max-height: 330px; border-radius: 12px 12px 0 0; }
  .agency-browser { transform: rotate(-3deg) scale(.88); }
  .product-mockup { transform: rotate(6deg) scale(.76); }
  .project-visual-stamp { width: 59px; height: 59px; font-size: 20px; }
  .project-content { padding: 28px 22px 29px; }
  .project-topline { margin-bottom: 14px; }
  .project-content h3 { font-size: clamp(1.25rem, 5.6vw, 1.5rem); }
  .project-description { font-size: 16px; }
  .project-bottom { padding-top: 17px; }
  .resume-section { padding-bottom: 90px; }
  .resume-card { display: flex; flex-direction: column; }
  .resume-copy { padding: 45px 24px 15px; }
  .resume-copy h2 { margin-top: 20px; }
  .resume-actions .button { min-height: 47px; font-size: 10px; padding: 0 13px; }
  .resume-art { min-height: 310px; max-height: 310px; }
  .resume-document { top: 24px; left: 50%; transform: translateX(-50%) rotate(7deg) scale(.65); transform-origin: top left; }
  .resume-scribble { right: 9px; bottom: 29px; font-size: 25px; }
  .resume-art-circle { right: -220px; top: -70px; }
  .contact-section { padding: 90px 0 95px; }
  .contact-section h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .contact-description { font-size: 14px; }
  .contact-actions .button { min-height: 48px; font-size: 10px; padding: 0 13px; }
  .footer-inner { flex-wrap: wrap; padding: 23px 0; justify-content: space-between; }
  .footer-inner > span { order: 3; flex-basis: 100%; text-align: center; }
  .modal { padding: 9px; }
  .modal-panel { height: 91dvh; }
  .modal-header { padding: 12px 15px; }
  .modal-header h2 { font-size: 21px; }
  .modal-footer { padding: 12px 15px; }
  .modal-footer p { display: none; }
}
@media (max-width: 400px) {
  .hero-actions { gap: 8px; }
  .hero h1 { font-size: clamp(2.55rem, 10.8vw, 3rem); }
  .hero-art { height: 325px; }
  .hero-art-outer { transform: scale(.62); }
  .hero-footer { margin-top: 7px; }
  .hero-specialties span { font-size: 9px; }
  .resume-actions .button { flex: 1 1 auto; }
}

/* Respect users who disable motion. Content must remain readable. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js-enabled [data-reveal], .js-enabled .project-card[data-reveal] { opacity: 1; transform: none; }
  .project-callout .arrow-path { stroke-dashoffset: 0; }
}
