/*
Theme Name: Dynamo Workshop
Description: Dynamo Dollar's story-led business magazine and opportunity library.
Version: 1.3.1
Text Domain: dynamo-workshop
*/
:root {
  --forest: #062f27;
  --forest-deep: #031f1a;
  --forest-soft: #10473c;
  --paper: #f5eddc;
  --paper-bright: #fffaf0;
  --ink: #122620;
  --gold: #d7a62b;
  --gold-light: #f3d77d;
  --copper: #9e5f24;
  --muted: #5d6963;
  --line: #c9bda8;
  --white: #fffdf8;
  --shadow: 0 26px 70px rgba(2, 20, 16, 0.28);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 2%, rgba(215, 166, 43, 0.17), transparent 28rem),
    linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font: 17px/1.72 var(--sans);
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: #74460d; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 64px, 1280px); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 11px 16px; background: var(--paper-bright); box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(243, 215, 125, 0.42); background: rgba(3, 31, 26, 0.95); color: var(--paper-bright); backdrop-filter: blur(14px); }
.header-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--paper-bright); font-weight: 900; font-size: 19px; line-height: 1; letter-spacing: -0.035em; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--paper-bright); }
.brand-icon { width: 48px; height: 48px; flex: 0 0 48px; border: 2px solid var(--gold-light); border-radius: 50%; object-fit: cover; background: var(--gold); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.24); }
.brand small { display: block; margin-top: 7px; color: #d8cdaa; font-size: 9px; font-weight: 800; letter-spacing: 0.17em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 32px); }
nav a { position: relative; color: var(--paper-bright); font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase; }
nav a::after { content: ''; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
nav a:hover { color: var(--gold-light); }
nav a:hover::after { transform: scaleX(1); }
nav a:last-child { padding: 0; border: 0; border-radius: 0; }
.header-cta { display: inline-flex; min-height: 40px; padding: 10px 15px; align-items: center; justify-content: center; border: 1px solid var(--gold); background: var(--gold); color: var(--forest-deep); font-size: 11px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.header-cta:hover { background: var(--gold-light); color: var(--forest-deep); }
#main.wrap { margin-block: 34px 60px; padding-inline: clamp(24px, 4.4vw, 68px); background: var(--paper); box-shadow: var(--shadow); }
.hero { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr); gap: clamp(30px, 4.6vw, 68px); align-items: center; min-height: 650px; padding: 56px 0 48px; border-top: 1px solid var(--forest); border-bottom: 1px solid var(--forest); }
.hero > div { align-self: center; }
.hero h1, .section h2, .statement h2, .article h1 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.055em; text-wrap: balance; }
.hero h1 { max-width: 9ch; margin: 22px 0 24px; font-size: clamp(58px, 6.2vw, 92px); line-height: 0.91; }
.hero h1 em { color: var(--copper); font-weight: inherit; }
.hero .intro { max-width: 35rem; color: #314b44; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--copper); font-size: 11px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--gold); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 2px solid var(--forest); border-radius: 0; background: var(--forest); color: var(--white); font-size: 13px; font-weight: 850; text-decoration: none; box-shadow: 5px 5px 0 var(--gold); transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { color: var(--white); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--gold); }
.text-link { font-size: 13px; font-weight: 850; }
.hero-art { margin: 0; min-width: 0; }
.character-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--forest); border-radius: 0; background: #d9c8a6; box-shadow: 12px 12px 0 rgba(6, 47, 39, 0.13); }
.character-frame::after { content: 'Dynamo Dollar · Business stories'; position: absolute; right: 14px; bottom: 12px; padding: 7px 10px; background: rgba(3, 31, 26, 0.9); color: var(--paper-bright); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.character-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.statement { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 90px); margin: 0; padding: 58px 0; border-bottom: 1px solid var(--line); background: transparent; }
.statement h2 { max-width: 12ch; margin: 18px 0 0; font-size: clamp(42px, 5vw, 69px); line-height: 0.98; }
.statement > div:last-child { align-self: end; }
.statement > div:last-child p:first-child { margin-top: 0; }
.section { padding: 68px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr); gap: clamp(30px, 6vw, 90px); align-items: end; margin-bottom: 34px; }
.section-head h2 { max-width: 14ch; margin: 14px 0 0; font-size: clamp(44px, 5.3vw, 72px); line-height: 0.95; }
.section-head > p { margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--forest); border-bottom: 1px solid var(--forest); }
.card { display: flex; min-height: 350px; padding: 28px; flex-direction: column; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.card:last-child { border-right: 0; }
.card:nth-child(2) { transform: none; background: rgba(255, 250, 240, 0.72); }
.card-number { color: var(--copper); font-size: 10px; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.card h3 { margin: 52px 0 16px; font: 700 clamp(34px, 3.3vw, 49px)/0.98 var(--serif); letter-spacing: -0.045em; }
.card p { margin: 0; color: #394a44; }
.card .tag { margin-top: auto; padding-top: 30px; border-top: 1px solid var(--line); color: var(--forest); font-size: 10px; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 3px solid var(--forest); border-bottom: 1px solid var(--forest); }
.steps--three { grid-template-columns: repeat(3, 1fr); }
.steps li { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); background: transparent; counter-increment: step; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: '0' counter(step); display: block; margin-bottom: 40px; color: var(--copper); font: 800 12px var(--sans); letter-spacing: 0.12em; }
.steps strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 23px; line-height: 1.1; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 0 68px; }
.closing p { max-width: 22ch; margin: 0; font: 700 clamp(30px, 4vw, 54px)/1.05 var(--serif); letter-spacing: -0.045em; }
.article { width: min(100% - 48px, 980px); min-height: 58vh; margin: 34px auto 60px; padding: clamp(50px, 7vw, 86px); background: var(--paper); box-shadow: var(--shadow); }
.article h1 { margin: 0 0 28px; font-size: clamp(52px, 7vw, 82px); line-height: 0.94; }
.article h2 { margin: 54px 0 14px; font: 700 clamp(29px, 3vw, 38px)/1.08 var(--serif); letter-spacing: -0.035em; }
.article .lead { margin: 0 0 30px; color: #314b44; font: 700 clamp(22px, 2.5vw, 29px)/1.42 var(--serif); }
.article li + li { margin-top: 10px; }
.article .button { margin: 8px 0; }
.article-wide { width: min(100% - 64px, 1180px); }
.prose-intro { max-width: 880px; margin-bottom: 70px; padding-bottom: 54px; border-bottom: 3px solid var(--forest); }
.prose-intro h1 { margin-top: 18px; }
.prose-intro > p:not(.eyebrow) { color: #314b44; font: 700 clamp(20px, 2.2vw, 27px)/1.46 var(--serif); }
.prose-section { margin: 64px 0; }
.prose-section > p { max-width: 780px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 24px 0 70px; border-top: 3px solid var(--forest); border-bottom: 1px solid var(--forest); }
.feature-grid--two { grid-template-columns: repeat(2, 1fr); }
.feature-card { padding: 28px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.feature-card:nth-child(even) { background: rgba(255, 250, 240, 0.72); }
.feature-card:last-child { border-right: 0; }
.feature-grid--two .feature-card:nth-child(2) { border-right: 0; }
.feature-grid--two .feature-card:nth-child(n+3) { border-top: 1px solid var(--line); }
.feature-card h3 { margin: 0 0 12px; font: 700 27px/1.08 var(--serif); letter-spacing: -0.03em; }
.feature-card p { margin: 0; color: var(--muted); }
.notice { margin: 40px 0; padding: 22px 24px; border-left: 5px solid var(--gold); background: #eadfc9; }
.archive-entry { padding: 30px 0; border-top: 1px solid var(--line); }
.directory-page > h1, .business-page > h1 { max-width: 13ch; }
.directory-page > p:not(.eyebrow), .business-page > .lead { max-width: 760px; }
.directory-section, .business-video, .business-offer, .guide-details { margin-top: 64px; padding-top: 44px; border-top: 3px solid var(--forest); }
.directory-section > h2, .business-video > h2, .business-offer > h2, .guide-details > h2 { margin-top: 0; }
.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--forest); border-bottom: 1px solid var(--forest); }
.business-card { min-width: 0; padding: 28px; border-right: 1px solid var(--line); }
.business-card:nth-child(3n) { border-right: 0; }
.business-card h3 { margin: 18px 0 14px; font: 700 30px/1.08 var(--serif); letter-spacing: -0.035em; }
.business-card p { color: var(--muted); }
.business-price { color: var(--forest) !important; font: 700 25px/1.2 var(--serif); }
.empty-state { padding: 22px 24px; border-left: 5px solid var(--gold); background: #eadfc9; color: #314b44; }
.empty-state h3 { margin: 0 0 8px; font: 700 25px/1.15 var(--serif); }
.empty-state p:last-child { margin-bottom: 0; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--forest-deep); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.business-offer > :last-child, .guide-details > :last-child { margin-bottom: 0; }
.guide-details h3 { font: 700 25px/1.15 var(--serif); }
.purchase-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding: 26px; background: var(--paper-bright); border: 1px solid var(--line); }
.site-footer { border-top: 1px solid rgba(243, 215, 125, 0.45); background: var(--forest-deep); color: #dfe8e3; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; padding: 58px 0 34px; }
.footer-row strong { color: var(--gold-light); font-family: var(--serif); font-size: 25px; letter-spacing: -0.02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--white); font-size: 13px; font-weight: 800; }
.footer-links a:hover { color: var(--gold-light); }
.fineprint { max-width: 920px; margin: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #aebdb7; font-size: 12px; line-height: 1.6; }
@media (max-width: 1050px) {
  .header-row { gap: 18px; }
  .brand small { display: none; }
  .hero { grid-template-columns: 0.9fr 1.1fr; min-height: 590px; }
  .hero h1 { font-size: clamp(51px, 6.9vw, 72px); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps--three { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .wrap { width: min(100% - 36px, 1280px); }
  .header-row { min-height: 78px; }
  .brand { font-size: 0; }
  .brand-icon { width: 42px; height: 42px; flex-basis: 42px; }
  nav { gap: 15px; }
  nav a { font-size: 10px; }
  .header-cta { display: none; }
  #main.wrap { margin-top: 22px; padding-inline: 30px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 42px; }
  .hero > div { max-width: 680px; }
  .hero h1 { max-width: 11ch; }
  .hero-art { grid-row: 2; }
  .statement, .section-head { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .card:last-child { border-bottom: 0; }
  .card h3 { margin-top: 28px; }
  .feature-grid, .feature-grid--two { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .business-card, .business-card:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .business-card:last-child { border-bottom: 0; }
  .feature-card, .feature-grid--two .feature-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
  .feature-grid--two .feature-card:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; background-attachment: scroll; }
  .wrap { width: min(100% - 24px, 1280px); }
  .header-row { align-items: center; min-height: 72px; gap: 12px; }
  nav { width: auto; margin-left: auto; overflow-x: auto; padding: 5px 0 8px; justify-content: flex-start; scrollbar-width: thin; }
  nav a { flex: 0 0 auto; }
  nav a:nth-child(3) { display: none; }
  #main.wrap { margin-block: 12px 34px; padding-inline: 18px; }
  .hero { gap: 28px; padding: 32px 0; }
  .character-frame { aspect-ratio: 4 / 3; box-shadow: 7px 7px 0 rgba(6, 47, 39, 0.13); }
  .character-frame img { object-position: 42% center; }
  .character-frame::after { right: 8px; bottom: 8px; font-size: 8px; }
  .hero h1 { font-size: clamp(47px, 14.5vw, 64px); }
  .hero .intro { font-size: 17px; }
  .actions { align-items: flex-start; flex-direction: column; }
  .statement { padding-block: 48px; }
  .section { padding: 52px 0; }
  .section-head h2, .statement h2 { font-size: 41px; }
  .steps { grid-template-columns: 1fr; }
  .steps--three { grid-template-columns: 1fr; }
  .steps li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:nth-child(n+3) { border-top: 0; }
  .steps li:last-child { border-bottom: 0; }
  .steps li::before { margin-bottom: 20px; }
  .closing, .footer-row { align-items: flex-start; flex-direction: column; }
  .closing { padding-bottom: 58px; }
  .article, .article-wide { width: min(100% - 24px, 980px); margin-block: 12px 34px; padding: 34px 22px 54px; }
  .article h1 { font-size: 46px; }
  .purchase-panel { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
