/*
Theme Name: Nicole Wallace
Theme URI: https://nicolewallace.me/
Author: Nicole Wallace
Description: Custom single-page portfolio theme built from the Figma Make design "Responsive Mockup Website" (Version 10) for nicolewallace.me. Dark hero / impact sections, white experience / leadership sections, gold accent. No page builder required. Responsive, with a mobile menu.
Version: 1.0.11
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nicole-wallace
*/

:root {
  --gold: #fdbb00;
  --gold-light: #ffc400;
  --gold-dark: #f7b500;
  --ink: #080808;
  --hero-bg: #050505;
  --paper: #fff;
  --muted: #d5d5d5;
  --text: #111;
  --text-grey: #555;
  --border-light: #e4e4e4;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 50px; }
/* Anchor sections stop 50px below the top, so a sticky header never
   covers the section heading when you jump to it from the menu.
   Final value approved by Nicole 2026-11-21 (was 110px in v1.0.3 draft). */
section[id] { scroll-margin-top: 50px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.shell { width: min(100% - 48px, 1180px); margin-inline: auto; }
.gold-line { width: 62px; height: 7px; background: var(--gold); margin: 16px 0 12px; display: block; }
.display-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.05;
  letter-spacing: -.025em;
}
/* No eyebrow: Figma has no duplicate "Nicole Wallace · Marketing Leader"
   line in the hero — it was removed at Nicole's request, so it is not
   rendered at any screen size. */

/* ---------- Header ---------- */
.site-header {
  /* v1.0.3: sticky header is back — the spacing fix is scroll-margin-top
     on the sections (above), not removing the header. */
  position: sticky; top: 0; z-index: 50;
  background: var(--hero-bg); color: #fff;
}
.site-header .shell { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { line-height: 0; }
/* Figma: the logo is the NW monogram IMAGE (72px wide), not Playfair
   text — the N and W in the artwork actually overlap, which no amount
   of letter-spacing on text could reproduce. */
.brand-mark img { display: block; width: 72px; height: auto; }
.brand-divider { width: 1px; height: 48px; background: var(--gold); }
.brand-copy { display: grid; }
.brand-copy strong { font-family: var(--serif); font-weight: 700; font-size: 29px; line-height: 1.1; }
.brand-copy small { font-size: 13px; letter-spacing: .34em; margin-top: 6px; color: #fff; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
/* WordPress menus output <ul class="menu"><li><a>… — style that list as the flex row. */
.nav-links ul.menu,
.nav-links > ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links li { list-style: none; }
.nav-links a { padding: 6px 0; position: relative; display: inline-block; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold);
}
.menu-toggle {
  display: none; margin-left: auto; background: transparent; border: 0;
  width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 24px; min-height: 48px; border: 2px solid transparent; border-radius: 8px; min-width: 260px;
  font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-gold {
  color: var(--ink);
  background: linear-gradient(115deg, var(--gold-light), var(--gold-dark));
  box-shadow: inset 0 1px rgba(255,255,255,.5);
}
.button-outline { color: #fff; background: rgba(0,0,0,.2); border-color: #fff; }
/* Figma: the LinkedIn "in" is a bold lowercase "in" in a 28px white box. */
.button-outline b {
  display: grid; place-items: center; width: 28px; height: 28px;
  background: #fff; color: #111; font-size: 20px; font-weight: 700; border-radius: 3px;
  text-transform: lowercase;
}

/* ---------- Hero ---------- */
.hero {
  color: #fff;
  background:
    radial-gradient(circle at 75% 45%, rgba(183,120,83,.62), transparent 35%),
    radial-gradient(circle at 25% 110%, rgba(65,65,65,.35), transparent 45%),
    var(--hero-bg);
  position: relative; overflow: hidden;
}
.hero-content {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: end;
  min-height: 355px; position: relative;
}
.hero-copy { padding: 30px 0 40px 14px; position: relative; z-index: 2; align-self: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 3.7vw, 52px); line-height: .97;
  letter-spacing: -.025em; max-width: 590px; margin-top: 0;
}
.hero-summary { font-size: clamp(17px, 1.7vw, 22px); line-height: 1.35; color: #eee; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.portrait-wrap { align-self: end; min-height: 0; position: relative; display: flex; align-items: flex-end; justify-content: flex-end; }
/* Figma: the portrait img carries an inline width of 561px and
   position:relative — it is shown at full height, not cropped with
   object-fit:cover in a 355px box, so the white shirt stays visible. */
.portrait-wrap img { width: min(100%, 561px); height: auto; position: relative; object-fit: contain; }

/* ---------- Companies ---------- */
.organizations { background: var(--paper); padding: 48px 0 36px; text-align: center; }
.section-kicker { display: flex; align-items: center; justify-content: center; gap: 20px; }
.section-kicker > span { display: block; width: 68px; height: 3px; background: var(--gold); }
.section-kicker h2 { font-size: 19px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.logo-row {
  /* Grid widened slightly for the Nasdaq column (1.35fr -> 1.6fr):
     its official lockup is very wide and short, so it needs the
     extra width to read at a similar size to the other logos. */
  margin-top: 32px; display: grid; grid-template-columns: 1.1fr 1.6fr 1fr 1.15fr 1fr 1.1fr;
  align-items: center; gap: 16px;
}
.logo-item { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; padding: 0 12px; border-right: 1px solid var(--border-light); }
.logo-item:last-child { border-right: 0; }
/* v1.0.9: official company logo images (assets/logos/), not the
   styled-text treatments Figma used. Logos scale to fit their cell
   while keeping their own aspect ratio. */
.logo-item img { max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; }

/* ---------- Experience ---------- */
.section-light { background: var(--paper); padding: 88px 0; }
.experience { border-top: 1px solid var(--border-light); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.intro-grid > p { border-left: 3px solid var(--gold); padding-left: 30px; font-size: 19px; font-weight: 600; line-height: 1.4; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 4px; }
.capability { text-align: center; border-right: 1px solid #bbb; padding: 6px 18px; }
.capability:last-child { border-right: 0; }
.capability .feature-icon, .leadership-card .feature-icon { width: 58px; height: 48px; margin: 0 auto 3px; color: var(--gold); }
.capability .feature-icon svg, .leadership-card .feature-icon svg { width: 100%; height: 100%; }
.capability h3 { margin-top: 0; font-size: 19px; font-weight: 800; line-height: 1.05; }
.capability h3 span, .leadership-card h3 span { display: block; }
.capability .tagline { margin-top: 10px; color: var(--text); font-size: 12px; font-weight: 600; }

/* ---------- Impact (dark) ---------- */
.dark-section { color: #fff; background: radial-gradient(circle, rgba(255,255,255,.07), transparent 50%), var(--hero-bg); }
.impact { padding: 88px 0; }
.impact-grid { display: grid; grid-template-columns: .75fr 1.45fr; gap: 38px; }
.impact-copy { border-right: 4px solid var(--gold); padding-right: 32px; display: flex; flex-direction: column; justify-content: center; }
.impact-copy p { margin-top: 20px; font-size: 17px; line-height: 1.3; color: #fff; max-width: 380px; }
.pipeline {
  border: 2px solid var(--gold); border-radius: 12px; padding: 5px 25px;
  display: grid; grid-template-columns: 60px auto 1fr; gap: 12px; align-items: center;
  min-height: 72px;
}
.pipeline .coins { color: var(--gold); font-size: 54px; line-height: 1; }
.pipeline > strong { color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 50px; line-height: 1; border-right: 2px solid #bbb; padding-right: 28px; }
.pipeline p { font-size: 16px; line-height: 1.25; color: #fff; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.metric { padding: 0 15px; border-right: 1px solid #fff; text-align: center; display: grid; justify-items: center; margin-top: 12px; }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--gold); font-size: 32px; font-weight: 800; line-height: 1; }
.metric span { display: block; max-width: 130px; margin-top: 5px; font-size: 12px; font-weight: 600; line-height: 1.15; color: #fff; }

/* ---------- Leadership ---------- */
.leadership { text-align: center; }
.leadership-title { display: flex; align-items: center; justify-content: center; gap: 20px; }
.leadership-title > span { display: block; width: 68px; height: 3px; background: var(--gold); }
.leadership-title h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3vw, 43px); }
.leadership-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 10px; text-align: center; }
.leadership-card { padding: 6px 18px; border-right: 1px solid #bbb; }
.leadership-card:last-child { border-right: 0; }
.leadership-card h3 { margin-top: 0; font-size: 17px; font-weight: 800; line-height: 1.05; }
.leadership-card p { margin-top: 8px; font-size: 13px; line-height: 1.18; color: var(--text); }

/* ---------- Case study ---------- */
.case-contact { padding: 88px 0 40px; }
.case-card {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, rgba(255,255,255,.05), transparent);
  border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 48px;
}
.case-card::after {
  content: ""; position: absolute; left: -80px; bottom: -120px; width: 340px; height: 340px;
  border: 2px solid var(--gold); border-radius: 50%; opacity: .55; pointer-events: none;
}
.case-label { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.case-intro h2 { margin: 16px 0 10px; font-family: var(--serif); font-weight: 700; font-size: 30px; }
.case-intro p { font-style: italic; color: #eee; max-width: 720px; }
.case-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin-top: 32px; }
.case-point { display: flex; gap: 12px; align-items: flex-start; }
.case-point > span {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 14px;
}
.case-point p { font-size: 15px; line-height: 1.5; color: #eee; }
.case-point p strong { color: #fff; }

/* ---------- Contact / footer ---------- */
.contact { padding: 56px 0 64px; text-align: center; }
.contact h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3vw, 43px); }
.contact .gold-line { margin-inline: auto; }
.contact p { margin-top: 18px; color: #eee; font-size: 17px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.contact-actions svg { width: 28px; height: 28px; }
.site-footer { color: #aaa; background: var(--hero-bg); padding: 22px 0 28px; text-align: center; font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  /* Figma's own stylesheet shrinks the brand on smaller screens
     (name 28px -> 20px here -> 17px at <=420px; subtitle 13px -> 8px).
     v1.0.5 removed these shrink rules and the name wrapped to two
     lines on phones — restored here in v1.0.8. */
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 8px; }
  .brand-divider { height: 38px; }
  .menu-toggle { display: flex; }
  /* Figma: the mobile menu is a floating card on the right, not a
     full-width bar. */
  .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: auto; right: 16px;
    width: min(320px, calc(100vw - 32px));
    background: rgba(5,5,5,.97); border: 1px solid #555; border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px;
  }
  .nav-links.open { display: flex; }
  .nav-links ul.menu,
  .nav-links > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a.active::after { display: none; }
  .hero-content { grid-template-columns: 1.1fr .9fr; }
  .hero h1 { font-size: clamp(34px, 4.5vw, 46px); }
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .logo-item:nth-child(3n) { border-right: 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .capability { border-right: 0; border-bottom: 1px solid #ccc; padding: 20px 10px; }
  .capability:last-child { border-bottom: 0; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-copy { border: 0; border-bottom: 3px solid var(--gold); padding: 0 0 20px; }
  .impact-copy p { max-width: 700px; }
  .pipeline { grid-template-columns: 50px 1fr; padding: 12px 16px; }
  .pipeline > strong { border: 0; padding: 0; font-size: 44px; }
  .pipeline p { border-top: 1px solid #888; grid-column: 1 / -1; padding-top: 10px; }
  .section-kicker > span, .leadership-title > span { width: 28px; }
  .section-kicker, .leadership-title { gap: 10px; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .leadership-card { border-bottom: 1px solid #ccc; padding: 20px 10px; }
  .leadership-card:nth-child(2n) { border-right: 0; }
  .case-points { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 32px, 600px); }
  .site-header .shell { min-height: 70px; }
  .brand-divider { height: 38px; }
  .hero-content { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 36px 0 24px; }
  .hero h1 { font-size: clamp(32px, 8vw, 42px); }
  .hero-summary { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .portrait-wrap { min-height: 0; margin-inline: -16px; justify-content: center; }
  .portrait-wrap img { width: min(100%, 450px); height: auto; }
  .organizations { padding-block: 22px; }
  .section-kicker h2 { font-size: 15px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
  .logo-item:nth-child(3n) { border-right: 1px solid var(--border-light); }
  .logo-item:nth-child(2n) { border-right: 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { border: 0; border-bottom: 1px solid #ccc; padding: 20px 10px; }
  .capability:last-child { border-bottom: 0; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 10px; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid #777; }
  .leadership-grid { grid-template-columns: 1fr; }
  .leadership-card, .leadership-card:nth-child(2n) { border: 0; border-bottom: 1px solid #ccc; padding: 20px 10px; }
  .leadership-card:last-child { border-bottom: 0; }
  .case-card { padding: 28px 22px; }
  .case-intro h2 { font-size: 29px; }
  .contact-actions .button { width: 100%; min-width: 0; }
}
@media (max-width: 420px) {
  .brand { gap: 9px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { letter-spacing: .22em; }
  .menu-toggle { width: 40px; height: 40px; }
  /* v1.0.11: the <br> breaks are in the markup, but the two long
     lines ("Connecting Strategy," and "Customer Experience") are
     each wider than a phone screen at 36px — measured ~385px in
     Playfair bold — so they wrapped again mid-line. At 28px they
     measure ~300px and fit a 360px-wide phone with room to spare.
     Figma's 36px only works because its phone preview is wider
     than a real phone screen. */
  .hero h1 { font-size: 28px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric { border: 0; border-bottom: 1px solid #777; }
  .metric:last-child { border-bottom: 0; }
}
