/* ============================================================
   greysonhirst.com
   Hand-written CSS. No framework, no build step.
   Change the colors in :root below and the whole site follows.
   ============================================================ */

:root{
  --bg:        #FBF9F6;
  --surface:   #FFFFFF;
  --ink:       #14100D;
  --muted:     #6B625B;
  --line:      #E9E2D9;
  --accent:    #C2410C;
  --accent-dk: #9A3412;
  --accent-sf: #FDF1E8;
  --dark:      #171310;
  --dark-2:    #221C17;

  --wrap: 1800px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20,16,13,.05), 0 4px 12px rgba(20,16,13,.04);
  --shadow-md: 0 2px 4px rgba(20,16,13,.05), 0 12px 32px rgba(20,16,13,.07);
  --shadow-lg: 0 4px 8px rgba(20,16,13,.05), 0 28px 64px rgba(20,16,13,.11);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

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

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

/* Content runs close to the screen edges rather than sitting in a narrow column.
   The padding grows with the viewport so it never touches the edge. */
.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:clamp(22px, 4.5vw, 76px); }
.wrap-narrow{ max-width:900px; }

.skip{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--ink); color:#fff; padding:12px 18px; border-radius:0 0 8px 0;
}
.skip:focus{ left:0; }

:focus-visible{ outline:3px solid var(--accent); outline-offset:3px; border-radius:4px; }

/* ---------- Type ---------- */
h1,h2,h3{ margin:0; line-height:1.1; letter-spacing:-.02em; font-weight:600; }

h1{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2.5rem, 4.3vw, 4.05rem);
  line-height:1.06;
  letter-spacing:-.015em;
  /* The <br> in the markup sets the break; clamp() keeps each line on one row. */
  max-width:100%;
}
h1 em{ font-style:italic; color:inherit; }

h2{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2rem, 4.2vw, 3.1rem);
  line-height:1.1;
}

h3{ font-size:1.15rem; letter-spacing:-.01em; }

.eyebrow{
  margin:0 0 22px;
  font-size:.8rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted);
}

.kicker{
  margin:0 0 14px;
  font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent);
}

.lede{
  margin:24px 0 0;
  font-size:clamp(1.05rem, 1.6vw, 1.22rem);
  color:var(--muted);
  max-width:56ch;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:13px 22px;
  border-radius:999px;
  font-size:.98rem; font-weight:600; letter-spacing:-.01em;
  text-decoration:none; white-space:nowrap;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}
.btn svg{ width:18px; height:18px; fill:currentColor; flex:none; }
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }

.btn-primary{ background:var(--accent); color:#fff; box-shadow:0 6px 18px rgba(194,65,12,.28); }
.btn-primary:hover{ background:var(--accent-dk); box-shadow:0 10px 26px rgba(194,65,12,.34); }

.btn-outline{ border-color:var(--line); background:var(--surface); color:var(--ink); }
.btn-outline:hover{ border-color:var(--ink); }

.btn-ghost{ background:transparent; color:var(--ink); border-color:rgba(20,16,13,.16); }
.btn-ghost:hover{ background:rgba(20,16,13,.05); border-color:rgba(20,16,13,.3); }

.btn-lg{ padding:16px 28px; font-size:1.05rem; }
.btn-sm{ padding:9px 16px; font-size:.9rem; }
.btn-block{ display:flex; width:100%; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,249,246,.82);
  backdrop-filter:saturate(1.5) blur(12px);
  -webkit-backdrop-filter:saturate(1.5) blur(12px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.site-header.stuck{ border-bottom-color:var(--line); box-shadow:0 1px 20px rgba(20,16,13,.05); }

.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; height:70px; }

.brand{ display:inline-flex; align-items:center; gap:11px; text-decoration:none; font-weight:650; letter-spacing:-.02em; }
.brand-mark{
  width:32px; height:32px; border-radius:9px;
  background:var(--accent); color:#fff;
  display:grid; place-items:center;
  font-family:var(--serif); font-size:1.15rem; line-height:1;
  padding-bottom:2px;
}
.brand-name{ font-size:1.02rem; }

.nav{ display:flex; align-items:center; gap:28px; }
.nav a{
  text-decoration:none; font-size:.95rem; font-weight:500; color:var(--muted);
  transition:color .15s ease;
}
.nav a:hover{ color:var(--ink); }
.nav a.active{ color:var(--ink); }
.nav .nav-cta{ color:#fff; }
.nav .nav-cta:hover{ color:#fff; }

.menu-toggle{
  display:none;
  width:42px; height:42px; border-radius:10px;
  background:transparent; border:1px solid var(--line);
  padding:0; cursor:pointer;
}
.menu-toggle span{
  display:block; width:17px; height:1.8px; background:var(--ink); margin:3.5px auto;
  border-radius:2px; transition:transform .22s ease, opacity .18s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(5.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-5.3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ position:relative; padding:clamp(60px,9vw,110px) 0 clamp(70px,8vw,90px); overflow:hidden; }
.hero::before{
  content:""; position:absolute; inset:-30% -10% auto -10%; height:70%;
  background:radial-gradient(60% 100% at 30% 0%, rgba(194,65,12,.09), transparent 70%);
  pointer-events:none;
}
.hero .wrap{ position:relative; }

/* Text left, mockup right, so the hero uses the full width of the screen. */
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(40px, 5vw, 90px);
}

.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }
.hero-note{ margin:20px 0 0; font-size:.92rem; color:var(--muted); }

.hero-mock{
  position:relative;
  width:100%;
  filter:drop-shadow(0 30px 60px rgba(20,16,13,.14));
}

/* ---------- Browser mockups (pure CSS, no images) ---------- */
.browser{
  border-radius:var(--r-lg);
  overflow:hidden;
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.browser-bar{
  display:flex; align-items:center; gap:7px;
  padding:11px 14px;
  background:#F3EFE9;
  border-bottom:1px solid var(--line);
}
.browser-bar i{ width:9px; height:9px; border-radius:50%; background:#D6CEC3; }
.browser-bar .url{
  margin-left:12px; flex:1;
  background:var(--surface); border-radius:99px;
  font-size:.68rem; color:#9A9088;
  padding:4px 12px;
  max-width:260px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.browser-body{ padding:20px; display:grid; gap:16px; }

.m-nav{ display:flex; align-items:center; justify-content:space-between; }
.m-logo{ width:52px; height:11px; border-radius:3px; background:var(--m-strong); }
.m-links{ display:flex; gap:8px; }
.m-links b{ width:26px; height:7px; border-radius:3px; background:var(--m-soft); }

.m-hero{ display:grid; gap:9px; padding:26px 0 18px; justify-items:start; }
.m-h1{ width:min(72%,300px); height:17px; border-radius:5px; background:var(--m-strong); }
.m-h1.short{ width:min(48%,200px); background:var(--m-mid); }
.m-btn{ width:104px; height:26px; border-radius:99px; background:var(--m-accent); margin-top:8px; }

.m-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:11px; }
.m-grid span{ height:58px; border-radius:9px; background:var(--m-soft); }

.mock-theme-a{ --m-strong:#241F1A; --m-mid:#5B534B; --m-soft:#EEE8E0; --m-accent:#C2410C; }
.mock-theme-b{ --m-strong:#2B2118; --m-mid:#6B5B4A; --m-soft:#F0E7DA; --m-accent:#B45309; }
.mock-theme-c{ --m-strong:#0F2942; --m-mid:#3F6285; --m-soft:#E2ECF4; --m-accent:#0369A1; }
.mock-theme-d{ --m-strong:#2A1E2C; --m-mid:#6A5570; --m-soft:#F0E8F1; --m-accent:#8B5CF6; }

/* ---------- Value strip ---------- */
.strip{
  background:var(--surface);
  border-block:1px solid var(--line);
  padding:clamp(52px,6vw,76px) 0;
}
.strip-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(32px,4vw,64px); }
.strip-item p{ margin:8px 0 0; font-size:.93rem; color:var(--muted); line-height:1.55; }
.strip-num{
  font-family:var(--serif); font-size:2.3rem; line-height:1;
  letter-spacing:-.02em; color:var(--ink);
}

/* ---------- Sections ---------- */
.section{ padding:clamp(72px,9vw,116px) 0; }
.section-alt{ background:var(--surface); border-block:1px solid var(--line); }

.section-head{ max-width:720px; margin-bottom:52px; }
.section-head .sub{ margin:18px 0 0; color:var(--muted); font-size:1.05rem; }

/* ---------- Work ---------- */
.work-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(28px,2.6vw,44px); }
.work-card{ transition:transform .25s ease; }
.work-card:hover{ transform:translateY(-6px); }
.work-card:hover .browser{ box-shadow:var(--shadow-md); }
.work-card .browser{ transition:box-shadow .25s ease; }
.work-card .browser-body{ padding:16px; }
.work-card .m-grid span{ height:40px; }

.work-meta{ padding:20px 4px 0; }
.work-meta h3{ margin:10px 0 8px; }
.work-meta p{ margin:0; color:var(--muted); font-size:.94rem; line-height:1.55; }

.tag{
  display:inline-block;
  font-size:.7rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  color:var(--accent); background:var(--accent-sf);
  padding:4px 10px; border-radius:99px;
}

/* ---------- Features ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,1.5vw,24px); }
.feature{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:26px 24px 28px;
  transition:border-color .2s ease, transform .2s ease;
}
.feature:hover{ border-color:#D6CBBD; transform:translateY(-3px); }
.feature h3{ margin:0 0 10px; padding-top:2px; }
.feature p{ margin:0; color:var(--muted); font-size:.94rem; line-height:1.6; }

/* ---------- Pricing ----------
   Two panels: what it costs to build, what it costs to keep running. */
.plan-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(22px,2.2vw,36px); align-items:stretch; }
.plan-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:clamp(30px,3vw,44px);
  box-shadow:var(--shadow-sm);
}
.plan-card:first-child{ border-color:var(--accent); box-shadow:var(--shadow-md); }

.plan-label{
  margin:0;
  font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent);
}
.price{
  margin:16px 0 0;
  font-family:var(--serif); font-weight:400;
  font-size:clamp(3.2rem,4.6vw,4.4rem); line-height:1; letter-spacing:-.03em;
}
.price span{ font-size:.42em; vertical-align:super; margin-right:2px; }
.price small{ font-family:var(--sans); font-size:1.1rem; color:var(--muted); letter-spacing:0; }
.price-note{
  margin:10px 0 0; padding-bottom:24px; border-bottom:1px solid var(--line);
  font-size:.9rem; color:var(--muted);
}

.plan-card ul{ list-style:none; margin:24px 0 0; padding:0; display:grid; gap:12px; }
.plan-card li{ position:relative; padding-left:28px; font-size:.97rem; }
.plan-card li::before{
  content:""; position:absolute; left:0; top:.5em;
  width:14px; height:8px;
  border-left:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:rotate(-45deg);
}

.plan-cta{
  margin-top:clamp(32px,3.5vw,48px);
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:18px 28px;
  text-align:center;
}
.plan-cta p{ margin:0; color:var(--muted); font-size:.95rem; max-width:46ch; }

/* ---------- Process (dark) ---------- */
.section-dark{ background:var(--dark); color:#F4EFE9; }
.section-dark h2{ color:#fff; }
.section-dark .kicker{ color:#F59E6B; }

.steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2vw,32px); counter-reset:s; }
.steps li{
  background:var(--dark-2);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-lg);
  padding:30px 26px 32px;
}
.step-n{
  font-family:var(--serif); font-size:2.1rem; color:#F59E6B;
  display:block; margin-bottom:14px; line-height:1;
}
.steps h3{ margin:0 0 10px; color:#fff; }
.steps p{ margin:0; color:#B8ADA3; font-size:.95rem; line-height:1.6; }

/* ---------- FAQ ---------- */
/* Two columns so the FAQ fills the width without one long line of text. */
.faq{ display:grid; grid-template-columns:1fr 1fr; column-gap:clamp(36px,5vw,90px); align-items:start; }
.faq details{ border-bottom:1px solid var(--line); }
.faq details:nth-child(-n+2){ border-top:1px solid var(--line); }
.faq summary{
  list-style:none; cursor:pointer;
  padding:22px 44px 22px 0;
  font-weight:600; font-size:1.04rem; letter-spacing:-.01em;
  position:relative;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:""; position:absolute; right:8px; top:50%;
  width:10px; height:10px;
  border-right:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:translateY(-70%) rotate(45deg);
  transition:transform .22s ease;
}
.faq details[open] summary::after{ transform:translateY(-30%) rotate(-135deg); }
.faq summary:hover{ color:var(--accent); }
.faq p{ margin:0 0 24px; color:var(--muted); max-width:62ch; }

/* ---------- CTA ---------- */
.cta{
  background:var(--accent-sf);
  border-top:1px solid var(--line);
  padding:clamp(72px,9vw,110px) 0;
  text-align:center;
}
.cta p{ margin:20px auto 0; color:#7A5240; max-width:46ch; font-size:1.08rem; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:34px; }
.cta-note{ font-size:.94rem; }
.cta-note a{ color:var(--accent-dk); font-weight:600; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--dark); color:#B8ADA3; padding:52px 0 30px; }
.footer-inner{ display:flex; flex-wrap:wrap; gap:32px; justify-content:space-between; align-items:flex-start; }
.site-footer .brand{ color:#fff; }
.footer-tag{ margin:12px 0 0; font-size:.92rem; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:22px; }
.footer-nav a{ text-decoration:none; font-size:.93rem; transition:color .15s ease; }
.footer-nav a:hover{ color:#fff; }
.footer-legal{
  margin-top:40px; padding-top:22px;
  border-top:1px solid rgba(255,255,255,.09);
  font-size:.85rem;
}
.footer-legal p{ margin:0; }

/* ---------- Sticky mobile call bar ---------- */
.callbar{
  display:none;
  position:fixed; left:14px; right:14px; bottom:14px; z-index:60;
  background:var(--accent); color:#fff;
  padding:15px; border-radius:99px;
  text-decoration:none; font-weight:650; font-size:1rem;
  align-items:center; justify-content:center; gap:10px;
  box-shadow:0 10px 30px rgba(194,65,12,.4);
}
.callbar svg{ width:19px; height:19px; fill:currentColor; }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s cubic-bezier(.22,.8,.3,1); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .btn:hover, .work-card:hover, .feature:hover{ transform:none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1000px){
  /* Not enough room for two columns — mockup drops below the text. */
  .hero-grid{ grid-template-columns:1fr; gap:52px; }
}

@media (max-width:960px){
  .strip-grid{ grid-template-columns:repeat(2,1fr); gap:30px; }
  .work-grid{ grid-template-columns:1fr 1fr; }
  .feature-grid{ grid-template-columns:1fr 1fr; }
  .plan-grid{ grid-template-columns:1fr; max-width:620px; margin-inline:auto; }
  .steps{ grid-template-columns:1fr; }
}

@media (max-width:760px){
  body{ font-size:16px; padding-bottom:80px; }

  .menu-toggle{ display:block; }
  .nav{
    position:absolute; top:70px; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--surface);
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow-md);
    padding:8px 24px 20px;
    display:none;
  }
  .nav.open{ display:flex; }
  .nav a{ padding:14px 0; border-bottom:1px solid var(--line); font-size:1rem; }
  .nav .nav-cta{ margin-top:16px; border-bottom:none; justify-content:center; }

  h1{ max-width:none; }
  .hero{ padding-top:44px; }
  .hero-actions .btn{ flex:1 1 auto; }
  .hero-grid{ gap:40px; }
  .strip-grid{ gap:26px; }

  .work-grid{ grid-template-columns:1fr; gap:34px; }
  .feature-grid{ grid-template-columns:1fr; }
  .faq{ grid-template-columns:1fr; }
  .faq details:nth-child(2){ border-top:none; }
  .section-head{ margin-bottom:38px; }

  .callbar{ display:flex; }
  /* Lift the change-request widget clear of the sticky call bar. */
  :root{ --rc-bottom:92px; }
  .footer-inner{ flex-direction:column; gap:24px; }
  .footer-nav{ gap:16px 20px; }
}

@media (max-width:420px){
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .cta-actions{ flex-direction:column; }
  .browser-bar .url{ display:none; }
}

@media print{
  .site-header,.callbar,.hero-mock{ display:none; }
  .reveal{ opacity:1; transform:none; }
}
