/* UCDesigns — warm & welcoming. Copper and charcoal come from the logo. */
:root {
  --bg: #fbf8f3;          /* warm white */
  --surface: #ffffff;
  --sand: #f3ece2;        /* soft section background */
  --line: #e6dccf;
  --ink: #2a2521;         /* logo charcoal */
  --ink-muted: #6b625a;
  --copper: #9a5223;      /* logo copper, darkened for readable text/buttons */
  --copper-hover: #7f4219;
  --copper-soft: #f4e3d5;
  --dark: #2b231e;        /* deep warm brown for the contact section */
  --dark-raised: #362d27;
  --on-dark: #f6efe6;
  --on-dark-muted: #bfb3a6;
  --copper-on-dark: #e4a175;
  --error: #b42318;
  --error-on-dark: #ffb4a8;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(42, 37, 33, .06), 0 8px 24px rgba(42, 37, 33, .08);
  --shadow-lg: 0 2px 4px rgba(42, 37, 33, .06), 0 18px 48px rgba(42, 37, 33, .14);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--copper); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--copper);
}
.eyebrow-light { color: var(--copper-on-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px;
  font-family: var(--font-body); font-size: 17px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 6px 16px rgba(154, 82, 35, .25); }
.btn-primary:hover { background: var(--copper-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; box-shadow: none; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand { padding: 4px 0; }
.brand img { width: 64px; height: auto; }
@media (min-width: 900px) { .brand img { width: 76px; } }
.nav-desktop { display: none; gap: 30px; }
.nav-desktop a { font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink-muted); transition: color .2s; }
.nav-desktop a:hover { color: var(--copper); }

.menu-toggle {
  width: 44px; height: 44px; display: grid; place-items: center; flex: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; padding: 0;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile { background: var(--bg); border-top: 1px solid var(--line); padding: 8px var(--gutter) 16px; box-shadow: 0 12px 24px rgba(42, 37, 33, .08); }
.nav-mobile a {
  display: flex; align-items: center; min-height: 52px;
  font-family: var(--font-display); font-size: 21px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a.nav-mobile-call { border-bottom: 0; margin-top: 8px; font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--copper); }

@media (min-width: 900px) {
  .nav-desktop { display: flex; margin-right: 24px; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.05fr; } }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 20px; }
.lede { font-size: clamp(18px, 1.7vw, 20px); color: var(--ink-muted); max-width: 32em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink-muted); text-decoration: none; font-size: 17px; }
.hero-phone svg { width: 20px; height: 20px; color: var(--copper); }
.hero-phone strong { color: var(--ink); }
.hero-phone:hover strong { color: var(--copper); }

.hero-photo { margin: 0; position: relative; }
.hero-photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  background: var(--copper-soft); border-radius: calc(var(--radius) + 8px);
}
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: var(--surface); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); }
.hero-pair-item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); }
.hero-pair-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-muted); text-align: center; }

.tag {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.tag-before { background: rgba(255, 255, 255, .92); color: var(--ink); }
.tag-after { background: var(--copper); color: #fff; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); }
.section-sub { margin: 14px 0 0; color: var(--ink-muted); }

/* Services */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  background: var(--copper-soft); color: var(--copper); border-radius: 14px; font-size: 26px;
}
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { margin: 0 0 20px; color: var(--ink-muted); font-size: 16.5px; }
.service-link { margin-top: auto; font-weight: 700; font-size: 16px; color: var(--copper); }
.service-link span { display: inline-block; transition: transform .2s; }
.service-card:hover .service-link span { transform: translateX(4px); }

/* Work — before/after side by side */
.work-list { display: grid; gap: clamp(28px, 4vw, 40px); }
@media (min-width: 960px) { .work-list { grid-template-columns: repeat(2, 1fr); } }
.project {
  background: var(--surface); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
  padding: 10px 10px 22px; display: flex; flex-direction: column;
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair-single { grid-template-columns: 1fr; }
.shot {
  position: relative; display: block; width: 100%; padding: 0; margin: 0;
  border: 0; background: var(--sand); cursor: zoom-in;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm);
}
.pair-single .shot { aspect-ratio: 8 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.03); }
.project-body { padding: 18px 12px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.project-meta { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper); }
.project h3 { font-size: 24px; }
.project-more {
  align-self: flex-start; margin-top: 2px; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 16px; color: var(--copper); text-decoration: underline; text-underline-offset: 4px;
}
.project-more:hover { color: var(--copper-hover); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  background: var(--copper); color: #fff; border-radius: 50%;
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
}
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-muted); font-size: 16.5px; }

/* Contact */
.contact { background: var(--dark); color: var(--on-dark); padding: clamp(64px, 9vw, 112px) 0; }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; } }
.contact h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 16px; }
.contact-sub { color: var(--on-dark-muted); margin: 0 0 32px; max-width: 30em; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list li > div {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--dark-raised); border-radius: var(--radius); text-decoration: none;
  font-size: 18px; font-weight: 600; overflow-wrap: anywhere;
  transition: background-color .2s;
}
.contact-list a:hover { background: #42372f; }
.contact-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(228, 161, 117, .14); color: var(--copper-on-dark); font-size: 22px; }
.contact-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }

.quote-form { background: var(--surface); color: var(--ink); border-radius: calc(var(--radius) + 6px); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.quote-form h3 { font-size: 28px; margin-bottom: 4px; }
.form-note { margin: 0 0 22px; font-size: 15px; color: var(--ink-muted); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-size: 15px; font-weight: 700; }
.req { color: var(--copper); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--bg); color: var(--ink);
  border: 1px solid #d8ccbd; border-radius: var(--radius-sm);
  font: inherit; font-size: 17px; /* 16px+ stops iOS zooming in */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b625a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(154, 82, 35, .18); }
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--error); }
.field ::placeholder { color: #9a9087; }
.error { color: var(--error); font-size: 15px; margin: 6px 0 0; }
.error:empty { display: none; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; min-height: 44px; padding: 0 18px;
  border: 1px solid #d8ccbd; border-radius: 999px; cursor: pointer; font-weight: 600;
  transition: border-color .2s, background-color .2s;
}
.radios input { accent-color: var(--copper); width: 18px; height: 18px; margin: 0; }
.radios label:has(input:checked) { border-color: var(--copper); background: var(--copper-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-size: 16px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status a { color: var(--copper); font-weight: 700; }
.form-success { padding: 12px 0; }
.form-success:focus { outline: none; }
.form-success-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--copper-soft); color: var(--copper); font-size: 28px; }
.form-success h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 10px; }
.form-success p { color: var(--ink-muted); margin: 0; }
.form-success a { color: var(--copper); font-weight: 700; }

/* Footer */
.site-footer { background: var(--bg); padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.brand-footer { margin-right: 0; }
.brand-footer img { width: 68px; }
.site-footer nav { display: flex; flex-wrap: wrap; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink-muted); }
.site-footer nav a:hover { color: var(--copper); }
.site-footer p { margin: 0; font-size: 15px; color: var(--ink-muted); }

/* Photo viewer */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(30, 25, 21, .97); color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(30, 25, 21, .9); }
.lb-inner { display: flex; flex-direction: column; height: 100%; max-width: 1400px; margin: 0 auto; padding: 16px var(--gutter); }
.lb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.lb-meta { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--copper-on-dark); }
.lb-head h3 { font-size: clamp(22px, 3vw, 30px); }
.lb-close, .lb-nav {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px;
  background: rgba(255, 255, 255, .08); color: var(--on-dark); border: 0; border-radius: 50%; cursor: pointer; font-size: 22px;
  transition: background-color .2s;
}
.lb-close:hover, .lb-nav:hover:not([disabled]) { background: rgba(255, 255, 255, .18); }
.lb-nav[disabled] { opacity: .3; cursor: default; }
.lb-stage { flex: 1; min-height: 0; display: grid; gap: 12px; touch-action: pan-y; }
.lb-stage.is-pair { grid-template-columns: 1fr 1fr; }
.lb-stage.is-pair.is-stacked { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.lb-pane { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.lb-pane img { max-width: 100%; max-height: calc(100% - 38px); object-fit: contain; border-radius: var(--radius-sm); }
.lb-pane .tag { position: static; box-shadow: none; }
.lb-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; }
.lb-caption { font-size: 16px; color: var(--on-dark-muted); text-align: center; }
body.no-scroll { overflow: hidden; }
