/* ===========================================================
   Ready & Abel LLC — design tokens
   Palette: denim (deep blue-gray) + copper (rust accent) + paper
   Type: Archivo Black (display) / Inter (body) / IBM Plex Mono (labels)
   =========================================================== */
:root {
  --ink:        #1B1B18;
  --paper:      #FAF7F2;
  --paper-dim:  #F0EBE1;
  --denim:      #22333F;
  --denim-dark: #182731;
  --copper:     #B5651D;
  --copper-lt:  #D98A46;
  --steel:      #6B7A80;
  --line:       #DCD5C6;

  --font-display: 'Archivo Black', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 2px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--copper);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.main-nav {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.main-nav a { text-decoration: none; color: var(--denim); position: relative; }
.main-nav a:hover { color: var(--copper); }
.header-call {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}
.header-call:hover { background: var(--ink); color: var(--paper); }
.call-icon { font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-logo { height: 130px; width: auto; margin: 0 0 28px; }
@media (max-width: 560px) {
  .hero-logo { height: 90px; }
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.hero-accent { color: var(--copper); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--denim);
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-lt); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* blueprint tick-mark divider, signature element */
.hero-tape {
  position: absolute;
  right: -80px;
  top: 40px;
  bottom: 40px;
  width: 220px;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--line) 0px, var(--line) 2px,
    transparent 2px, transparent 28px
  );
  opacity: 0.7;
  transform: rotate(6deg);
}
@media (max-width: 860px) { .hero-tape { display: none; } }

/* ---------- Section shared ---------- */
section { padding: 88px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 12px;
}
.section-label.light { color: var(--copper-lt); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.section-title.light { color: var(--paper); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--paper);
  padding: 32px 28px 36px;
}
.service-icon {
  display: inline-flex;
  color: var(--copper);
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.service-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
}
@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Photos ---------- */
.portfolio { background: var(--denim); color: var(--paper); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(250,247,242,0.15);
}
.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame.placeholder {
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background-color: var(--denim-dark);
  background-image: repeating-linear-gradient(
    45deg,
    var(--denim-dark) 0px, var(--denim-dark) 10px,
    #1c2b35 10px, #1c2b35 20px
  );
}
.photo-frame .ph-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(250,247,242,0.6);
}
.portfolio-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.portfolio-card p {
  margin: 0;
  color: rgba(250,247,242,0.65);
  font-size: 0.95rem;
}
@media (max-width: 860px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* Photo category (Gazebos and Pergolas) */
.photo-category {
  margin-top: 48px;
  border-top: 1px solid rgba(250,247,242,0.15);
  padding-top: 32px;
}
.category-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0;
  cursor: pointer;
}
.category-toggle:hover { color: var(--copper-lt); }
.toggle-icon {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  line-height: 1;
}
.category-toggle[aria-expanded="true"] .toggle-icon { transform: rotate(45deg); }
.category-panel { margin-top: 24px; }
.category-subhead {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--copper-lt);
  margin: 0 0 14px;
}
.category-panel .category-subhead:not(:first-child) { margin-top: 28px; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.category-grid .photo-frame { margin-bottom: 0; }
.category-grid .photo-frame.natural { aspect-ratio: auto; }
.category-grid .photo-frame.natural .photo-img { height: auto; display: block; }
@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* ---------- Full list ---------- */
.full-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.full-list-group h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 14px;
  color: var(--denim);
}
.full-list-group ul {
  margin: 0;
  padding-left: 20px;
  color: var(--denim);
}
.full-list-group li { margin-bottom: 8px; }
.full-list-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  margin-top: 6px;
}
@media (max-width: 640px) {
  .full-list-grid { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo-frame {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  display: flex;
  overflow: hidden;
}
.about-photo-frame.placeholder {
  align-items: flex-end;
  padding: 14px;
  background-color: var(--paper-dim);
  background-image: repeating-linear-gradient(
    45deg,
    var(--paper-dim) 0px, var(--paper-dim) 10px,
    #e6ddc9 10px, #e6ddc9 20px
  );
  border: 1px dashed var(--steel);
}
.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo-frame .ph-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
}
.about p { font-size: 1.05rem; color: var(--denim); }
.about-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
}
.about-badges li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--denim);
  color: var(--denim);
  padding: 8px 14px;
  border-radius: var(--radius);
}
@media (max-width: 720px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 220px; }
}

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-copy { color: rgba(250,247,242,0.7); max-width: 420px; }
.contact-methods { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-method { text-decoration: none; display: block; }
.contact-qr { margin-top: 32px; }
.qr-img { width: 140px; height: 140px; border-radius: var(--radius); }
.qr-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(250,247,242,0.6);
}
.cm-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--copper-lt);
  margin-bottom: 4px;
}
.cm-value { font-size: 1.3rem; font-weight: 700; }
.contact-method:hover .cm-value { color: var(--copper-lt); }

.contact-form {
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius);
}
.form-row { margin-bottom: 20px; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row-split .form-row { margin-bottom: 0; }
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--steel);
}
input, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus {
  border-color: var(--copper);
}
textarea { resize: vertical; }
.btn-submit { width: 100%; border: none; cursor: pointer; margin-top: 4px; }
.form-note {
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 14px;
  min-height: 1em;
}
.form-note.success { color: #2E7D32; }
.form-note.error { color: #B3261E; }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--denim-dark); color: rgba(250,247,242,0.8); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-details p { margin: 2px 0; font-size: 0.85rem; }
.footer-copy { font-size: 0.8rem; opacity: 0.6; margin: 0; }

@media (max-width: 700px) {
  .main-nav { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 48px; }
}
