/* Hartnell Ent — design tokens */
@font-face { font-family: "Alegreya"; src: url(/assets/fonts/alegreya-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url(/assets/fonts/alegreya-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url(/assets/fonts/alegreya-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/assets/fonts/alegreya-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/assets/fonts/alegreya-sans-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url(/assets/fonts/alegreya-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --fog: #E7EAE3;        /* page background: cool PNW overcast */
  --paper: #F4F6F1;      /* raised panels */
  --hunter: #1F3D2B;     /* primary */
  --moss: #3E6A4D;       /* secondary green, links on hover */
  --blackberry: #4B2A5E; /* accent */
  --heather: #CDBEDB;    /* light accent */
  --orchid: #B37DB4;     /* moon in the logo */
  --lichen: #A9B79A;     /* rules, borders */
  --ink: #000000;

  --serif: "Alegreya", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;

  --step-0: 1.25rem;
  --step-1: 1.5rem;
  --step-2: 2rem;
  --step-3: 2.625rem;
  --step-4: clamp(2.5rem, 5vw, 3.5rem);

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--sans);
  font-kerning: normal;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hunter); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blackberry); }
:focus-visible { outline: 3px solid var(--blackberry); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; color: var(--hunter); }
h1 { font-weight: 800; font-size: var(--step-4); letter-spacing: -.01em; }
h2 { font-weight: 800; font-size: var(--step-2); }
h3 { font-weight: 500; font-size: var(--step-1); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--fog); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Masthead */
.masthead { background: var(--hunter); color: var(--fog); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--fog); text-decoration: none; font: 800 1.4rem/1 var(--serif); }
.brand:hover { color: var(--heather); }
.mark { width: 3rem; height: 3rem; --mark-rack: var(--fog); --mark-moon: var(--orchid); }
.masthead nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.9rem, 3vw, 2rem); }
.masthead nav a { color: var(--fog); text-decoration: none; font-weight: 700; padding-block: .25rem; border-bottom: 2px solid transparent; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--fog); border-bottom-color: var(--heather); }

/* Buttons */
.button {
  display: inline-block; font: 700 1rem/1 var(--sans); padding: .9rem 1.3rem; border-radius: 6px;
  background: var(--hunter); color: var(--fog); text-decoration: none; border: 2px solid var(--hunter); cursor: pointer;
}
.button:hover { background: var(--blackberry); border-color: var(--blackberry); color: var(--fog); }
.button-light { background: var(--fog); color: var(--hunter); border-color: var(--fog); }
.button-light:hover { background: var(--heather); border-color: var(--heather); color: var(--ink); }
.button-ghost { background: transparent; color: var(--fog); border-color: var(--fog); }
.button-ghost:hover { background: var(--fog); color: var(--hunter); border-color: var(--fog); }
.button-outline { background: transparent; color: var(--hunter); }
.button-outline:hover { color: var(--fog); }
.button[disabled] { opacity: .6; cursor: progress; }

/* Hero */
.hero { background: var(--hunter); color: var(--fog); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 2rem; padding-top: clamp(2.5rem, 7vw, 5rem); }
.hero-copy { padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero-word {
  font: 800 clamp(4.25rem, 13vw, 10rem)/.85 var(--serif); letter-spacing: -.03em;
  color: var(--heather); margin: 0 0 .25em -.04em;
}
.hero h1 { color: var(--fog); font-size: var(--step-3); max-width: 18ch; }
.hero-sub { font-size: 1.25rem; max-width: 40ch; color: #D6DCD2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-visual { align-self: end; }
.hero-art { width: 100%; max-width: 26rem; margin-left: auto; display: block; }
.hero-visual picture { display: block; max-width: 30rem; margin-left: auto; }
.hero-visual img { border-radius: 999px 999px 0 0; object-fit: cover; aspect-ratio: 4/5; width: 100%; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.services-home h2 { margin-bottom: 1.5rem; }
.svc-primary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.75rem); }
.svc { border-top: 4px solid var(--hunter); padding-top: 1.1rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { text-decoration: underline; }
.svc p { max-width: 34ch; }
.svc-secondary { margin-top: 3rem; display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; border-top: 1px solid var(--lichen); padding-top: 1.25rem; }
.svc-secondary-h { font-size: 1.25rem; font-style: italic; margin: .15rem 0 0; color: var(--moss); }
.svc-secondary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.svc-secondary li { display: grid; grid-template-columns: minmax(12rem, 22rem) minmax(0, 1fr); gap: .25rem 2rem; }
.svc-secondary li a { font: 500 1.25rem/1.3 var(--serif); }

/* Logo wall */
.logos { background: var(--paper); }
.logos h2 { font-size: var(--step-1); }
.logo-wall { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.75rem; }
.logo-wall span, .logo-wall a { font: 500 1.3rem/1.2 var(--serif); color: var(--hunter); text-decoration-color: var(--lichen); }
.logo-wall a:hover { color: var(--blackberry); text-decoration-color: currentColor; }
.logo-wall img { max-height: 4rem; max-width: 11rem; width: auto; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2.5rem; }
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0 0 .75rem; font: 500 italic 1.4rem/1.4 var(--serif); color: var(--hunter); }
.quotes figcaption { font-size: 1rem; }

/* CTA */
.cta { background: var(--blackberry); color: var(--fog); padding-block: clamp(3rem, 7vw, 5rem); }
.cta h2 { color: var(--fog); font-size: var(--step-3); }
.cta p { max-width: 46ch; font-size: 1.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; max-width: none !important; }
.cta .button-light:hover { background: var(--heather); }
.cta .button-ghost:hover { color: var(--blackberry); }
.cta-mail { color: var(--heather); font-weight: 700; }
.cta-mail:hover { color: var(--fog); }

/* Interior pages */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.lede { font-size: 1.3rem; max-width: 46ch; }
.crumb { margin-bottom: .5rem; font-weight: 700; }
.prose { max-width: 66ch; padding-bottom: 3rem; }
.prose h2 { font-size: var(--step-1); font-weight: 800; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .6rem; }
.prose li::marker { color: var(--moss); }

.service-body { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: 3rem; }
.service-aside, .about-aside, .contact-aside { background: var(--paper); border-left: 4px solid var(--hunter); padding: 1.5rem; }
.service-aside h2, .about-aside h2, .contact-aside h2 { font-size: 1.2rem; margin-top: 1.25rem; }
.service-aside h2:first-child, .about-aside h2:first-of-type, .contact-aside h2:first-child { margin-top: 0; }
.service-aside ul, .about-aside ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.service-aside li, .about-aside li { margin-bottom: .4rem; }

.svc-index { padding-bottom: 3.5rem; }
.svc-row { display: grid; grid-template-columns: minmax(14rem, 26rem) minmax(0, 1fr); gap: .5rem 2.5rem; padding-block: 1.4rem; border-top: 1px solid var(--lichen); }
.svc-row h2 { font-size: var(--step-1); margin: 0; }
.svc-row p { margin: 0; max-width: 46ch; }
.svc-row.is-secondary h2 { font-weight: 500; }
.svc-index-break { font-size: 1.25rem; font-style: italic; color: var(--moss); margin: 2.5rem 0 .25rem; }

.work-list { list-style: none; margin: 0; padding: 0 0 3.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 2.5rem 3rem; }
.work-list li { border-top: 4px solid var(--hunter); padding-top: 1rem; }
.work-shot { display: block; margin-bottom: 1rem; border-radius: 4px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--lichen); }
.work-shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.work-shot:hover img { opacity: .92; }
.service-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.service-shots a { text-decoration: none; font-weight: 700; font-size: 1rem; }
.service-shots img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px var(--lichen); margin-bottom: .5rem; }
.work-list h2 { font-size: var(--step-1); margin-bottom: .2rem; }
.work-kind { font-style: italic; color: var(--moss); margin-bottom: .5rem; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: 3rem; }
.about .prose p { font-size: 1.2rem; line-height: 1.6; }
.headshot { margin-bottom: 1.25rem; border-radius: 4px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: 4rem; }
.contact-form { max-width: 40rem; }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-weight: 700; margin-bottom: .35rem; }
.opt { font-weight: 400; color: #4a5a4e; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--lichen); border-radius: 4px; padding: .7rem .8rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--hunter); outline: 3px solid var(--heather); outline-offset: 0; }
textarea { resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9rem 1rem; border-radius: 4px; background: var(--paper); border-left: 4px solid var(--hunter); }
.form-status.is-error { border-left-color: var(--blackberry); background: #EFE8F3; }

/* Footer */
.site-footer { background: var(--ink); color: #CFD5CB; padding-top: 3rem; font-size: 1rem; }
.site-footer a { color: var(--fog); }
.site-footer a:hover { color: var(--heather); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand .mark { width: 4rem; height: 4rem; --mark-rack: var(--lichen); }
.footer-tag { font: 800 1.6rem/1 var(--serif); color: var(--heather); margin-top: .75rem; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-legal { padding-block: 2rem 1.5rem; font-size: .9rem; color: #8E978A; }

/* Responsive */
@media (max-width: 60rem) {
  .svc-primary { grid-template-columns: 1fr; }
  .service-shots { grid-template-columns: 1fr 1fr; }
  .service-shots a:nth-child(3) { display: none; }
  .svc-secondary, .svc-secondary li, .svc-row { grid-template-columns: 1fr; }
  .service-body, .about, .contact { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 44rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { max-width: 15rem; margin: 0 auto -1rem; }
  .hero-visual picture { max-width: 22rem; margin: 0 auto; }
  .field-row, .footer-inner { grid-template-columns: 1fr; }
  .masthead-inner { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
