/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */
:root {
  --ink: #11110f;
  --paper: #f1eee6;
  --paper-2: #e4dfd3;
  --muted: #6d6a62;
  --line: rgba(17,17,15,.18);
  --dark-line: rgba(241,238,230,.18);
  --accent: #d86f42;
  --accent-dark: #9f4d2b;
  --white: #fffdf8;
  --font: Arial, Helvetica, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 1.25rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--ink); color: var(--paper); padding: .75rem 1rem; border-radius: .35rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 50; min-height: 4.75rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 0 var(--pad); background: rgba(241,238,230,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem; white-space: nowrap; }
nav { justify-self: center; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
nav a { font-size: .9rem; color: #3f3d38; }
nav a:hover { color: var(--ink); }
.header-cta { padding: .72rem 1rem; background: var(--ink); color: var(--paper); border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.menu-toggle { display: none; }
.hero { min-height: calc(100svh - 4.75rem); padding: clamp(4rem, 8vw, 8rem) var(--pad) 2.5rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); grid-template-rows: 1fr auto; column-gap: clamp(2.5rem, 6vw, 7rem); row-gap: 4rem; align-items: center; }
.eyebrow { margin: 0 0 1.25rem; font-size: .73rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.hero h1, h2 { margin: 0; font-style: normal; letter-spacing: -.055em; overflow-wrap: anywhere; }
.hero h1 { max-width: 12ch; font-size: clamp(3.6rem, 7.2vw, 8rem); line-height: .92; }
.hero-intro { max-width: 38rem; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.55; color: #4f4c45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { min-height: 2.9rem; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 700; }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border: 1px solid var(--line); }
.button-secondary:hover { background: var(--white); }
.hero-visual { min-width: 0; }
.frame { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem; background: #222; color: white; border-radius: var(--radius); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.58), transparent 55%); }
.frame-label, .frame-cue { position: relative; z-index: 1; font-size: .75rem; letter-spacing: .04em; }
.frame-cue { opacity: .62; text-align: right; }
.frame-hero { aspect-ratio: 4 / 5; background: radial-gradient(circle at 70% 24%, #f0a176 0 8%, transparent 28%), linear-gradient(150deg,#211d1a 5%,#68412f 45%,#131313 46% 100%); }
.frame-hero::before { content: ""; position: absolute; width: 43%; height: 68%; right: 12%; bottom: -8%; border-radius: 50% 50% 10% 10%; background: linear-gradient(#2c2825,#0c0c0c); transform: rotate(-7deg); opacity: .8; }
.hero-proof { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); padding-top: 1.4rem; }
.hero-proof div { display: grid; gap: .25rem; padding-right: 1.5rem; }
.hero-proof div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.hero-proof strong { font-size: .9rem; }
.hero-proof span { color: var(--muted); font-size: .85rem; }
.work-section, .services-section, .process-section, .about-section, .contact-section { padding: clamp(6rem, 10vw, 10rem) var(--pad); }
.section-heading { display: grid; grid-template-columns: minmax(8rem,.55fr) minmax(0,1.6fr) minmax(16rem,.85fr); gap: 2rem 4rem; margin-bottom: 4.5rem; align-items: start; }
.section-heading .eyebrow { margin: .4rem 0 0; }
.section-heading h2, .about-copy h2, .contact-section h2 { font-size: clamp(2.6rem, 5.4vw, 5.7rem); line-height: .96; }
.section-heading > p:last-child { margin: .35rem 0 0; color: var(--muted); line-height: 1.6; }
.section-heading.compact { grid-template-columns: minmax(8rem,.5fr) minmax(0,1.35fr) minmax(16rem,.85fr); }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5rem 1.5rem; }
.project-featured { grid-column: 1 / -1; }
.project-featured .frame { aspect-ratio: 16 / 8; }
.project:not(.project-featured) .frame { aspect-ratio: 4 / 3; }
.frame-a { background: linear-gradient(135deg,#101516 0 34%,#876d56 34% 49%,#d8b18a 49% 60%,#2a3030 60%); }
.frame-b { background: radial-gradient(circle at 38% 38%,#d9b28e 0 10%,transparent 11%), linear-gradient(155deg,#26211f 0 45%,#706052 46% 65%,#1c1a19 66%); }
.frame-c { background: linear-gradient(115deg,#b75f38 0 28%,#efc896 29% 52%,#374249 53% 75%,#141616 76%); }
.project-meta { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding-top: 1.15rem; }
.project-meta h3 { margin: 0 0 .25rem; font-size: 1.08rem; }
.project-meta p { margin: 0; color: var(--muted); line-height: 1.45; font-size: .9rem; }
.services-section { background: var(--ink); color: var(--paper); }
.services-section .eyebrow, .services-section .section-heading > p:last-child { color: #aaa69c; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.service-card { min-height: 19rem; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.service-card h3 { margin: 0; max-width: 13ch; font-size: 1.35rem; }
.service-card > p { margin: 1.25rem 0 2rem; color: #b7b3a8; line-height: 1.55; }
.service-bottom { margin-top: auto; display: grid; gap: .3rem; }
.service-bottom span { color: #8d897f; font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; }
.service-bottom strong { font-size: 1.05rem; font-weight: 600; }
.pricing-note { max-width: 52rem; margin: 1.5rem 0 0 auto; color: #8d897f; line-height: 1.5; font-size: .78rem; }
.packages-section { padding: clamp(6rem, 10vw, 10rem) var(--pad); background: var(--white); }
.package-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.package-card { display: flex; flex-direction: column; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.featured-package { background: #ded6c6; border-color: #c2b8a4; }
.package-top { border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; margin-bottom: 1.4rem; }
.package-name, .package-price { margin: 0; }
.package-name { font-size: 1.4rem; font-weight: 700; letter-spacing: -.025em; }
.package-price { margin-top: .55rem; color: var(--muted); }
.package-price strong { color: var(--ink); font-size: 1.45rem; }
.package-card > p { line-height: 1.55; color: #555149; }
.package-card ul { margin: 1.2rem 0 2rem; padding: 0; list-style: none; }
.package-card li { padding: .7rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.package-card a { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--ink); font-weight: 700; font-size: .9rem; }
.custom-quote { margin-top: 1rem; display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr) auto; gap: 2rem; align-items: center; padding: 2rem; background: var(--accent); color: var(--white); border-radius: var(--radius); }
.custom-quote .eyebrow { color: rgba(255,255,255,.75); margin-bottom: .5rem; }
.custom-quote h3 { margin: 0; font-size: 1.45rem; }
.custom-quote > p { margin: 0; line-height: 1.5; color: rgba(255,255,255,.88); }
.button-dark { background: var(--ink); color: var(--paper); white-space: nowrap; }
.process-section { background: var(--paper-2); }
.process-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--line); }
.process-list article { padding: 1.5rem 1.5rem 0 0; }
.process-list article + article { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.process-list h3 { margin: 0; font-size: 1.05rem; }
.process-list p { margin: .8rem 0 0; color: var(--muted); line-height: 1.55; font-size: .9rem; }
.about-section { display: grid; grid-template-columns: minmax(18rem,.8fr) minmax(0,1.2fr); gap: clamp(3rem,7vw,8rem); align-items: center; }
.frame-portrait { aspect-ratio: 4 / 5; background: radial-gradient(circle at 45% 27%,#e3b58c 0 10%,transparent 11%), linear-gradient(170deg,#bbb09b 0 48%,#3a3936 49% 72%,#181818 73%); }
.about-copy .eyebrow { margin-bottom: 1.25rem; }
.about-copy > p:not(.eyebrow) { max-width: 42rem; color: #555149; font-size: 1.05rem; line-height: 1.65; }
.about-copy h2 { margin-bottom: 1.8rem; }
.placeholder-copy { padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem !important; }
.contact-section { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(18rem,.7fr); gap: 4rem; background: var(--ink); color: var(--paper); }
.contact-section .eyebrow { color: #aaa69c; }
.contact-section h2 { max-width: 10ch; }
.contact-section > div:first-child > p:last-child { max-width: 40rem; color: #aaa69c; line-height: 1.6; }
.contact-actions { align-self: end; }
.contact-email { display: inline-block; padding-bottom: .25rem; border-bottom: 1px solid currentColor; font-size: clamp(1.25rem,2.3vw,2.2rem); overflow-wrap: anywhere; }
.contact-actions p { color: #7e7a72; font-size: .8rem; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--pad); background: var(--ink); color: #8d897f; border-top: 1px solid var(--dark-line); font-size: .78rem; }
footer div { display: flex; gap: 1.3rem; flex-wrap: wrap; }
footer a:hover { color: var(--paper); }
@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  nav { gap: 1rem; }
  .header-cta { display: none; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(16rem,.7fr); }
  .section-heading, .section-heading.compact { grid-template-columns: minmax(7rem,.45fr) minmax(0,1.55fr); }
  .section-heading > p:last-child { grid-column: 2; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .package-grid { grid-template-columns: 1fr; }
  .custom-quote { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 0; }
  .process-list article:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  :root { --pad: 1.25rem; --radius: .9rem; }
  .site-header { min-height: 4.25rem; grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; justify-self: end; min-height: 2.6rem; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .82rem; font-weight: 700; }
  nav { display: none; position: absolute; top: 4.25rem; left: 0; right: 0; padding: 1rem var(--pad) 1.35rem; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  nav.is-open { display: flex; }
  nav a { min-height: 2.8rem; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .hero { min-height: auto; grid-template-columns: minmax(0,1fr); grid-template-rows: auto; padding-top: 4.5rem; }
  .hero h1 { font-size: clamp(3.4rem,15vw,5.2rem); }
  .hero-visual { order: -1; }
  .frame-hero { aspect-ratio: 16 / 10; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div, .hero-proof div + div { padding: .9rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .section-heading, .section-heading.compact { grid-template-columns: minmax(0,1fr); gap: .6rem; }
  .section-heading > p:last-child { grid-column: 1; }
  .section-heading h2, .about-copy h2, .contact-section h2 { font-size: clamp(2.5rem,12vw,4.2rem); }
  .project-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .project-featured { grid-column: 1; }
  .project-featured .frame, .project:not(.project-featured) .frame { aspect-ratio: 4 / 3; }
  .project-meta { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 15rem; }
  .process-list { grid-template-columns: 1fr; gap: 0; }
  .process-list article, .process-list article + article, .process-list article:nth-child(3) { padding: 1.25rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .about-section, .contact-section { grid-template-columns: minmax(0,1fr); }
  .about-visual { max-width: 32rem; }
  .contact-actions { align-self: start; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
