@import url('../fonts.css');

:root {
  --paper: #ece8dd;
  --sand: #d1cdbc;
  --cream: #f8f6ef;
  --ink: #302e28;
  --taupe: #4a4540;
  --muted: #625e52;
  --line: rgba(48, 46, 40, .22);
  --gutter: clamp(1.25rem, 4.6vw, 5rem);
  --space: clamp(1.75rem, 3vw, 3rem);
  --header-height: 103px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Fira Sans', Arial, sans-serif; font-size: 1rem; font-weight: 300; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.anchor-pointer-focus:focus { outline: none; }
::selection { background: var(--taupe); color: var(--cream); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.8vw, 5.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.7rem); letter-spacing: -.02em; }
p + p { margin-top: 1.15rem; }
ul { padding-left: 1.2rem; }
.container { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.section { padding-block: var(--space); }
.eyebrow { display: block; font-size: .72rem; font-weight: 500; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.4rem; }
.section-heading { max-width: 790px; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.section-heading p:not(.eyebrow) { max-width: 660px; margin-top: 1.5rem; }
.skip-link { position: fixed; top: 1rem; left: 1rem; background: var(--cream); color: var(--ink); width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; z-index: 100; }
.skip-link:focus { width: auto; height: auto; padding: .75rem 1rem; clip-path: none; }

.preview-banner { padding: .5rem var(--gutter); background: var(--taupe); color: var(--cream); text-align: center; font-size: .75rem; letter-spacing: .035em; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { width: 138px; max-height: 74px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.5rem); }
.main-nav ul { display: flex; align-items: center; gap: inherit; list-style: none; padding: 0; margin: 0; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .82rem; font-weight: 400; text-decoration: none; padding-block: .65rem; border-bottom: 1px solid transparent; transition: border-color .2s; }
.main-nav a:hover, .main-nav a[aria-current="location"] { border-color: currentColor; }
.main-nav a[aria-current="location"] { font-weight: 500; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(820px, 83svh); padding-block: clamp(5rem, 10vw, 9rem); background: var(--taupe); color: var(--cream); overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
picture.hero-image img, .hero-image picture, .hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 24, 21, .68) 0%, rgba(22, 24, 21, .42) 48%, rgba(22, 24, 21, .08) 100%); }
.hero-content { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.hero-title, .hero h1 { max-width: 820px; }
.hero-copy { max-width: 550px; font-size: clamp(1rem, 1.45vw, 1.18rem); margin-top: 1.8rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.5rem; font-size: .9rem; font-weight: 400; line-height: 1.45; text-align: center; text-decoration: none; border: 1px solid transparent; transition: background-color .2s, color .2s; }
.button-primary { background: var(--taupe); color: var(--cream); }
.button-primary:hover { background: var(--ink); }
.hero .button-primary { background: var(--paper); color: var(--ink); }
.hero .button-primary:hover { background: #fff; }
.button-outline { border-color: currentColor; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.25rem; padding-block: .5rem; font-size: .95rem; font-weight: 400; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.text-link:hover { text-decoration-thickness: 2px; }
.button-outline:hover { background: var(--ink); color: var(--cream); }
.hero .button-outline:hover { background: var(--cream); color: var(--ink); }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .8fr; gap: clamp(2rem, 7vw, 8rem); align-items: start; }
.intro-grid > p, .intro-grid > div:last-child { max-width: 570px; }
.intro-grid p { font-size: 1.08rem; }
.intro-grid .eyebrow { font-size: .72rem; }
.process { background: var(--sand); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.process-step { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.step-number { display: block; font-size: .8rem; letter-spacing: .08em; margin-bottom: 2.5rem; }
.process-step h3 { margin-bottom: 1.15rem; }
.process-step p { font-size: .98rem; max-width: 370px; }

.project { background: var(--cream); }
.project-intro { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: clamp(2rem, 6vw, 6rem); margin-bottom: 3rem; }
.project-intro h2 { max-width: 720px; }
.project-intro p:not(.eyebrow) { max-width: 540px; }
.project-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.gallery-item { min-width: 0; grid-column: span 3; }
.gallery-item img { width: 100%; height: auto; }
.gallery-wide { grid-column: 1 / -1; }
.gallery-caption { font-size: .76rem; color: var(--muted); margin-top: .75rem; }
.gallery-tall { max-width: 100%; grid-column: span 2; }

.pricing { background: var(--paper); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.8vw, 2.6rem); background: var(--sand); border: 1px solid transparent; }
.price-card h3 { min-height: 3.2em; }
.price-card p { font-size: .93rem; }
.price-card ul { margin-block: 1.2rem; }
.price-card li { padding-block: .3rem; font-size: .9rem; }
.price-card-featured { background: var(--taupe); color: var(--cream); }
.price { display: block; font-size: clamp(2.4rem, 3.7vw, 3.6rem) !important; font-weight: 300; line-height: 1.2; letter-spacing: -.04em; margin-top: 1.8rem; }
.price-unit { display: block; font-size: .9rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; margin-top: .4rem; }
.price-extras { border-top: 1px solid currentColor; padding-top: 1.1rem; margin-top: 1.8rem; font-size: .95rem; }
.price-extras summary { cursor: pointer; font-weight: 400; padding-block: .2rem; }
.price-extras p, .price-extras li { font-size: .95rem; line-height: 1.65; }
.price-extras h4 { margin: 0; font-weight: 500; font-size: .95rem; }
.price-card .button { margin-top: auto; }
.price-card .price-extras { margin-bottom: 2rem; }
.price-card-featured .button { border-color: var(--cream); }
.pricing-note { max-width: 900px; margin-top: 2rem; font-size: .95rem; line-height: 1.7; color: var(--muted); }
.pricing-note p + p { margin-top: .6rem; }

.about { background: var(--paper); }
.more-information { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.about-image { width: 100%; }
.about-image img { width: 100%; height: auto; }
.about-copy { max-width: 580px; }
.about-copy h2 { margin-bottom: 1.8rem; }
.about-copy .button { margin-top: 1.8rem; }

.contact { background: var(--taupe); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .8fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.contact h2 { max-width: 670px; }
.contact p:not(.eyebrow) { max-width: 550px; margin-top: 1.5rem; }
.contact-links { display: flex; flex-direction: column; }
.contact-link { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(248, 246, 239, .35); text-decoration: none; font-size: clamp(1.125rem, 1.6vw, 1.35rem); overflow-wrap: anywhere; }
.contact-link > span:first-child { font-size: .9rem; }
.contact-link strong { font-weight: 300; }
.contact-link:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.contact-location { font-size: .9rem; }
.contact-link:first-child { border-top: 1px solid rgba(248, 246, 239, .35); }
.contact-link:hover { color: #fff; }
.contact-link small { font-size: .72rem; opacity: .85; }
.site-footer { background: var(--paper); padding-block: 2rem; font-size: .85rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.footer-inner p { margin: 0; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-brand { font-size: 1rem; letter-spacing: .06em; }
.menu-icon { width: 20px; height: 8px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }

@media (min-width: 1500px) {
  .hero { min-height: 820px; }
}

@media (max-width: 1000px) {
  :root { --header-height: 89px; }
  .header-inner { gap: 1rem; min-height: 88px; }
  .brand img { width: 115px; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .82rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1.25rem; max-width: 680px; margin-inline: auto; }
  .price-card { padding: 2rem; }
  .price-card h3 { min-height: 0; margin-bottom: 1rem; }
  .intro-grid, .project-intro, .about-grid, .contact-grid { gap: 2.5rem; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; gap: 1.5rem; }
  .price-card { padding: 2.25rem; }
  .price-card h3 { min-height: 0; margin-bottom: 1rem; }
  .price-card .button { align-self: flex-start; }
  .about-grid { grid-template-columns: .85fr 1fr; gap: 2rem; align-items: start; }
  .about-copy .eyebrow { max-width: 24em; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 760px) {
  :root { --header-height: 83px; }
  html:not(.js) { scroll-padding-top: 230px; }
  .header-inner { min-height: 82px; flex-wrap: wrap; padding-block: .8rem; }
  .brand img { width: 108px; max-height: 56px; }
  .main-nav { flex-basis: 100%; flex-wrap: wrap; justify-content: flex-start; gap: .2rem 1.3rem; padding-bottom: .4rem; }
  .main-nav ul { flex-wrap: wrap; }
  .main-nav a { font-size: .87rem; padding-block: .65rem; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-width: 64px; min-height: 44px; padding: .5rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: .82rem; }
  .js .main-nav { display: none; }
  .js .main-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.5rem; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(48,46,40,.12); max-height: calc(100dvh - var(--menu-top, var(--header-height)) - 8px); overflow-y: auto; overscroll-behavior: contain; }
  .js .main-nav.is-open ul { flex-direction: column; align-items: stretch; }
  .js .main-nav.is-open a { display: block; font-size: 1.25rem; padding: .75rem 0; }
  .hero { min-height: min(620px, 80svh); padding-block: 3.5rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(22, 24, 21, .77), rgba(22, 24, 21, .26)); }
  .hero-title, .hero h1 { max-width: 600px; }
  .hero-copy { max-width: 430px; font-size: 1rem; }
  .hero-actions { gap: .75rem; margin-top: 1.75rem; }
  .button { padding-inline: 1.15rem; }
  .intro-grid, .project-intro, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid p { font-size: 1rem; }
  .process-grid { grid-template-columns: 1fr; gap: 2.3rem; }
  .process-step { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .7rem; }
  .step-number { grid-row: 1 / 3; margin-top: .2rem; margin-bottom: 0; }
  .process-step p { grid-column: 2; max-width: none; }
  .process-step h3 { margin-bottom: .75rem; }
  .project-intro { gap: 1.5rem; margin-bottom: 2rem; }
  .project-gallery { gap: 1.5rem 1rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .price-card { padding: 2rem; }
  .price-card h3 { min-height: 0; margin-bottom: 1rem; }
  .price { font-size: 3rem !important; }
  .about-image { max-width: 520px; }
  .about-copy { max-width: none; }
  .contact-grid { gap: 2.5rem; }
  .contact-link { padding-block: 1.2rem; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 420px; }
  .hero-actions .button, .price-card .button { width: 100%; }
  .project-gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-wide, .gallery-tall { grid-column: auto; }
}

@media (max-width: 760px) and (max-height: 450px) {
  html:not(.js) { scroll-padding-top: 1.5rem; }
  html:not(.js) .site-header { position: relative; }
}

@media (max-width: 440px) {
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 2.7rem); }
  .hero-copy { margin-top: 1.4rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex-grow: 1; }
  .gallery-item { margin-bottom: .25rem; }
  .price-card { padding: 1.6rem; }
  .footer-inner { flex-direction: column; gap: .5rem; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; padding-block: 2.5rem; }
  .hero h1 { font-size: clamp(2.3rem, 5vw, 3.1rem); }
  .hero .eyebrow { margin-bottom: 1rem; }
  .hero-copy { margin-top: 1.25rem; }
  .hero-actions { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Styles specific to the third proposal. */
.project-invitation { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; padding-block: 2.5rem; }
.project-invitation h3 { max-width: 600px; }
.project-invitation h3 + p { margin-top: 1rem; max-width: 650px; }
.project-invitation-action { justify-self: end; }
.project-invitation-action p { margin-top: .75rem; font-size: .85rem; }
.instagram-inspiration { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; margin-top: 2.5rem; padding: clamp(1.5rem, 3vw, 3rem); background: var(--sand); }
.instagram-inspiration h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 400; letter-spacing: .035em; }
.instagram-inspiration p { max-width: 660px; margin-top: 1rem; }
/* A fine, elongated arrow echoes the borders and light typography. */
.button { gap: .85rem; }
.button-label { min-width: 0; }
.button-arrow { display: block; flex: 0 0 30px; width: 30px; height: 15px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.project-more { margin-top: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: .5rem; }
.project-more summary { cursor: pointer; padding-block: 1rem; font-weight: 400; }
.project-more[open] .project-gallery { padding-top: 1.5rem; }
.project-more > .text-link { margin-bottom: 1rem; }
.contact-start { margin-top: 1.5rem; background: var(--cream); color: var(--ink); }
.contact-start:hover { background: var(--sand); color: var(--ink); }
.contact-reassurance { margin-top: .85rem; font-size: .9rem; }
.main-nav .nav-contact { font-weight: 500; }
@media (max-width: 760px) {
  .project-invitation, .instagram-inspiration { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-invitation-action { justify-self: stretch; }
  .project-invitation-action .button, .contact-start { width: 100%; }
}
.styling-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.styling-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .styling-gallery { grid-template-columns: 1fr; } }

/* Original PDF copy, retained in the third proposal's typography. */
.original-process-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.original-process-copy h3 { margin-bottom: 1.5rem; }
.process-reference-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-top: 3rem; }
.process-reference-grid img { width: 100%; height: auto; }
.process-reference-grid a { display: block; }
.original-projects { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.original-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.original-project-grid h4 { margin: 0 0 1.25rem; font-size: 1.4rem; font-weight: 400; }
.price-description > h4 { margin-bottom: 0; font-size: .95rem; font-weight: 400; }
.price-card > .price { margin-block: 1.5rem; }
.pricing-note h3 { font-size: 1.25rem; margin-block: 1.5rem .75rem; }
.about-copy h2 + p { margin-top: 1.5rem; }
@media (max-width: 760px) { .original-process-copy, .process-reference-grid, .original-project-grid { grid-template-columns: 1fr; } }

.about-followup { grid-column: 1 / -1; max-width: 790px; }
.about-followup h3 + p { margin-top: 1.5rem; }

/* Shared rows keep package prices aligned despite different copy lengths. */
@media (min-width: 1101px) {
  .price-card {
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .price-card > h3 { align-self: start; }
  .price-card > .button { align-self: end; justify-self: start; }
}

/* Show the complete design board without cropping the floor plan. */
.styling-gallery a { display: block; }
.styling-gallery figure:last-child img { object-fit: contain; background: #fff; }

/* Enlarge the logo visually while preserving the header layout height. */
.brand img { transform: scale(1.2); transform-origin: left center; }

@media (max-width: 760px) {
  .footer-inner { flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
  .footer-inner > * { max-width: 100%; }
  .footer-inner a { justify-content: center; }
}
