/* =========================================================
   GCYN Digital — design tokens
   Theme: "work order" — service-ticket motifs for a business
   that builds sites for tradespeople & local shops.
   ========================================================= */
:root{
  --ink:        #14213D;   /* navy — dark sections */
  --ink-soft:   #1C2C4C;
  --paper:      #F6F3EC;   /* warm paper — light sections */
  --paper-line: #DAD3C2;   /* hairline on paper */
  --blueprint:  #35507C;   /* secondary blue */
  --amber:      #E8A33D;   /* signal amber — stamps, CTAs */
  --amber-dark: #C9822A;
  --charcoal:   #1B1B1B;
  --slate:      #64707D;
  --slate-light:#AEB9C4;
  --white:      #FFFFFF;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --wrap: 1180px;
  --radius: 4px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1, h2, h3{ font-family: var(--font-display); line-height: 1.1; margin: 0; }
p{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

.wrap{
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible{
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- shared bits ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}
.eyebrow-dark{ color: var(--blueprint); }

.section{ padding: 96px 0; }
.section-paper{ background: var(--paper); }
.section-navy{ background: var(--ink); color: var(--paper); }

.section-title{
  font-size: clamp(28px, 4vw, 42px);
  max-width: 620px;
  margin-bottom: 48px;
}
.section-title-light{ color: var(--white); }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-amber{
  background: var(--amber);
  color: var(--ink);
}
.btn-amber:hover{ background: var(--amber-dark); }
.btn-ghost{
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover{ background: rgba(255,255,255,0.08); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo{
  display: flex;
  align-items: center;
  color: var(--white);
}
.logo-img{
  height: 46px;
  width: auto;
  display: block;
}
.logo-img-footer{
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}
.logo-fallback{
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--white);
}
.main-nav{
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav > a{
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  opacity: 0.85;
}
.main-nav > a:hover{ opacity: 1; }
.nav-social{
  display: flex;
  gap: 10px;
}
.social-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.social-icon svg{
  width: 16px;
  height: 16px;
  fill: var(--white);
}
.social-icon:hover{ transform: translateY(-2px); filter: brightness(1.1); }
.social-fb{ background: #1877F2; }
.social-wa{ background: #25D366; }
.nav-cta{ padding: 10px 20px; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
}
.nav-toggle span{
  display: block;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 96px;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}
.hero-copy{
  max-width: 720px;
  min-width: 0;
}
.hero-copy h1{
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 22px;
}
.hero-copy h1 em{
  font-style: normal;
  color: var(--amber);
}
.hero-break{
  display: none;
}
@media (min-width: 901px){
  .hero-break{
    display: inline;
  }
}
.hero-lede{
  font-size: 17px;
  color: var(--slate-light);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.built-for{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--slate-light);
  text-transform: uppercase;
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}
.built-for::-webkit-scrollbar{ display: none; }

/* --- signature element: the demo browser preview --- */
.hero-preview{
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 26px;
}
.browser-stage{
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
}
.preview-logo-badge{
  position: absolute;
  top: -45px;
  left: 5px;
  z-index: 2;
  display: flex;
  align-items: center;
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 7px 11px;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,0.5);
}
.preview-logo-badge img{
  height: 60px;
  width: auto;
  display: block;
}
.browser-frame{
  width: 100%;
  max-width: 380px;
  background: var(--paper);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  transform: rotate(-1.2deg);
}
.browser-bar{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: #E6E1D6;
  border-bottom: 1px solid var(--paper-line);
}
.browser-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C7BFA9;
}
.browser-url{
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  background: var(--paper);
  border-radius: 4px;
  padding: 4px 10px;
  flex: 1;
}
.browser-body{ padding: 22px 22px 30px; }
.mini-nav{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.mini-logo{
  width: 26px;
  height: 10px;
  border-radius: 2px;
  background: var(--ink);
}
.mini-link{
  width: 30px;
  height: 6px;
  border-radius: 3px;
  background: var(--paper-line);
}
.mini-link-cta{
  margin-left: auto;
  width: 46px;
  height: 16px;
  border-radius: 4px;
  background: var(--amber);
}
.mini-hero{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-eyebrow{
  width: 90px;
  height: 6px;
  border-radius: 3px;
  background: var(--amber);
  margin-bottom: 6px;
}
.mini-headline{
  width: 92%;
  height: 16px;
  border-radius: 3px;
  background: var(--ink);
}
.mini-headline-short{ width: 60%; }
.mini-cta{
  margin-top: 14px;
  width: 96px;
  height: 26px;
  border-radius: 5px;
  background: var(--blueprint);
}
.approval-badge{
  position: absolute;
  bottom: -2px;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--slate-light);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,0.4);
}
.approval-badge svg{ color: #2E7D32; flex-shrink: 0; }

/* =========================================================
   WHAT I BUILD
   ========================================================= */
.build-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.build-card{
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.build-tag{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 14px;
}
.build-card h3{
  font-size: 19px;
  margin-bottom: 12px;
}
.build-card p{
  font-size: 14.5px;
  color: var(--slate);
}

/* =========================================================
   RECENT WORKS
   ========================================================= */
.works-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.work-card{
  background: var(--ink-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}
.work-thumb{
  height: 190px;
  position: relative;
  overflow: hidden;
}
.work-thumb::after{
  content: "Add your site preview image here";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}
.work-thumb img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-thumb-water{ background: linear-gradient(135deg, #1E4E6B, #35507C); }
.work-thumb-massage{ background: linear-gradient(135deg, #4A3B63, #6B5480); }
.work-thumb-food{ background: linear-gradient(135deg, #7A3A22, #B5602E); }
.work-thumb-plumbing{ background: linear-gradient(135deg, #2E3A46, #4C5F6E); }
.work-body{ padding: 24px 26px 28px; }
.work-tag{
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.work-body h3{
  font-size: 20px;
  color: var(--white);
  margin-bottom: 10px;
}
.work-body p{
  font-size: 14px;
  color: var(--slate-light);
}

/* =========================================================
   PRICING — 3-column plan comparison
   ========================================================= */
.pricing-intro{
  font-size: 16px;
  color: var(--slate);
  max-width: 46ch;
  margin: -24px 0 48px;
}
.pricing-footnote{
  font-size: 14px;
  color: var(--slate-light);
  max-width: 60ch;
  margin: 32px 0 0;
}
.plans-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.plan-card{
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  padding: 34px 28px 28px;
}
.plan-card-featured{
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
  transform: translateY(-10px);
  box-shadow: 0 30px 55px -22px rgba(0,0,0,0.4);
}
.plan-badge{
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name{
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  margin-bottom: 8px;
}
.plan-tagline{
  font-size: 13.5px;
  color: var(--slate);
  margin-bottom: 24px;
  min-height: 34px;
}
.plan-card-featured .plan-tagline{ color: var(--slate-light); }
.plan-price{ display: flex; align-items: baseline; gap: 5px; }
.plan-price .currency{ font-family: var(--font-display); font-size: 18px; color: var(--amber); }
.plan-price .value{ font-family: var(--font-display); font-size: 32px; }
.plan-price-note{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 26px;
}
.plan-card-featured .plan-price-note{ color: var(--slate-light); }
.plan-features{
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.plan-features li{
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--slate);
}
.plan-card-featured .plan-features li{ color: var(--paper); }
.plan-features li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(232,163,61,0.15);
  box-shadow: inset 0 0 0 1.5px var(--amber);
}
.plan-features li::after{
  content: "";
  position: absolute;
  left: 3.5px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(-45deg);
}
.plan-cta{ width: 100%; margin-top: auto; }
.btn-outline-ink{
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-ink:hover{ background: var(--ink); color: var(--paper); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy .hero-lede{ margin-top: 18px; }

.contact-form{
  background: var(--paper);
  color: var(--charcoal);
  border-radius: 10px;
  padding: 32px;
}
.field{
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input,
.field textarea{
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--paper-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  resize: vertical;
}
.field input:focus,
.field textarea:focus{
  border-color: var(--blueprint);
  outline: none;
}
.field.has-error input,
.field.has-error textarea{ border-color: #C0392B; }
.field-error{
  font-size: 12.5px;
  color: #C0392B;
  min-height: 16px;
}
.form-submit{ width: 100%; margin-top: 6px; }
.form-status{
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  min-height: 18px;
}
.form-status.success{ color: #2E7D32; }
.form-status.error{ color: #C0392B; }

/* =========================================================
   LEGAL PAGES (Terms, Privacy)
   ========================================================= */
.legal-page{ padding-top: 72px; }
.legal-wrap{ max-width: 760px; }
.legal-updated{
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--slate);
  margin-bottom: 40px;
}
.legal-body h2{
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  margin: 36px 0 12px;
}
.legal-body h2:first-child{ margin-top: 0; }
.legal-body p{
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 4px;
}
.legal-body a{
  color: var(--blueprint);
  text-decoration: underline;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--ink); color: var(--slate-light); }
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-block: 56px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p{
  margin-top: 12px;
  font-size: 13px;
  max-width: 30ch;
  color: var(--slate-light);
}
.footer-links{
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-links a:hover{ color: var(--amber); }
.footer-social{
  display: flex;
  gap: 12px;
  align-self: flex-start;
}
.footer-bottom{
  padding-block: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px){
  .build-grid{ grid-template-columns: 1fr; }
  .works-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; gap: 32px; }
  .contact-grid{ grid-template-columns: 1fr; }
  .plans-grid{ grid-template-columns: 1fr; }
  .plan-card-featured{ transform: none; }
}

@media (max-width: 760px){
  .main-nav{
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .main-nav.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta{ width: 100%; }
  .nav-toggle{ display: flex; }
  .section{ padding: 64px 0; }
}
