/* Ioana Giboi Interior Design */
:root {
  --ivory: #F5F0E8;
  --stone: #EAE2D6;
  --line: #DCD3C5;
  --ink: #2A2622;
  --muted: #5C544A;
  --gold: #7A5A22;
  --gold-light: #D2B47A;
  --dark: #2A2622;
  --darker: #1F1C19;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 14px; }
.section-title { font-size: clamp(36px, 4vw, 54px); }
.lead { color: var(--muted); font-weight: 300; }
.btn { display: inline-block; text-decoration: none; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; padding: 17px 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); cursor: pointer; font-family: var(--sans); }
.btn:hover { background: #45403A; color: var(--ivory); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }
.placeholder-note { background: #FFF3C4; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 240, 232, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { line-height: 0; display: block; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); }
.lang { display: flex; gap: 6px; color: var(--muted); }
.lang a { padding: 10px 2px; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); border-bottom: 1px solid var(--ink); }
.nav .btn { padding: 13px 22px; letter-spacing: 0.14em; }
.menu-toggle { display: none; background: none; border: 1px solid var(--ink); width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 32px 28px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav .btn { margin-top: 10px; }
  .brand img { height: 46px; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero-text { flex: 1 1 380px; min-width: 0; max-width: 500px; }
.hero h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.06; letter-spacing: -0.01em; margin-bottom: 26px; }
.hero h1 em { color: var(--gold); }
.hero .lead { font-size: 18px; max-width: 440px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero-media { flex: 999 1 560px; min-width: 0; margin: 0; }
.collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 340px 175px 175px; gap: 10px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.collage img:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
.collage img:nth-child(2) { grid-column: 1; grid-row: 2; }
.collage img:nth-child(3) { grid-column: 1; grid-row: 3; }
.collage img:nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 4; }
.hero-media figcaption { margin-top: 16px; text-align: center; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) {
  .hero { padding-top: 32px; gap: 36px; }
  .collage { grid-template-rows: 220px 120px 120px; gap: 6px; }
}

/* Bands */
.band { background: var(--stone); }
.statement { max-width: 980px; margin: 0 auto; padding: 96px 32px; text-align: center; }
.statement .rule { width: 40px; height: 1px; background: var(--gold); margin: 0 auto 32px; }
.statement p { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.35; }
.section { padding-top: 112px; padding-bottom: 112px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head > div { max-width: 600px; }
.section-head h1, .section-head h2 { margin-bottom: 16px; }

/* Filters + project grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font-family: var(--sans); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 18px; min-height: 44px; cursor: pointer; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { display: block; text-decoration: none; color: var(--ink); }
.card[hidden] { display: none; }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--ivory); color: var(--ink); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; font-weight: 500; }
.card-body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; }
.card h3 { font-size: 24px; }
.card .meta { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.center { text-align: center; margin-top: 56px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .services { grid-template-columns: minmax(0, 1fr); } }
.service { background: var(--ivory); padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; }
.service .num { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.service h3 { font-size: 30px; line-height: 1.15; }
.service ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.service .price { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }

/* Process */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 400px; min-width: 0; }
.split .tall { width: 100%; height: 640px; object-fit: cover; }
@media (max-width: 640px) { .split .tall { height: 420px; } }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--serif); font-size: 22px; color: var(--gold); min-width: 36px; }
.steps h3 { font-family: var(--sans); font-weight: 500; font-size: 19px; margin-bottom: 6px; line-height: 1.3; }

/* About */
.about { flex-wrap: wrap-reverse; }
.about .portrait { max-width: 520px; }
.about .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-body p + p { margin-top: 18px; }
.about-body p { color: var(--muted); font-weight: 300; }
.about-body p:first-child { font-size: 19px; color: var(--ink); }
.facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.facts dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.facts dd { margin: 4px 0 0; }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* Testimonials */
.quote { max-width: 980px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; }
.quote cite { display: block; margin-top: 24px; color: var(--muted); font-size: 15px; letter-spacing: 0.08em; font-style: normal; }
.quote + .quote { margin-top: 64px; }

/* Contact */
.contact { background: var(--dark); color: var(--ivory); }
.contact .eyebrow, .contact .label { color: var(--gold-light); }
.contact .lead { color: #CFC6B8; margin: 22px 0 40px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list .label { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.contact-list a, .contact-list span.v { color: var(--ivory); font-size: 20px; text-decoration: none; }
.contact-list a:hover { color: var(--gold-light); }
.contact-grid { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-grid > div { flex: 1 1 360px; min-width: 0; }
.form { flex: 999 1 520px; min-width: 0; background: var(--ivory); color: var(--ink); padding: 44px 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 13px 14px; border: 1px solid #A89C8A; background: #FFFDF9; color: var(--ink); border-radius: 0; width: 100%; }
.form textarea { resize: vertical; min-height: 140px; }
.form .consent { flex-direction: row; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form .hp { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; font-size: 15px; }
.form-status.ok { color: #2F5D34; }
.form-status.err { color: #8A2B1E; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; } }

/* Footer */
.site-footer { background: var(--darker); color: #CFC6B8; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 72px; padding-bottom: 40px; }
.footer-top > div, .footer-top > nav { display: flex; flex-direction: column; gap: 8px; }
.footer-brand { flex: 1 1 280px; max-width: 360px; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 14px; }
.footer-top .label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid #3A352F; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 32px; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: #CFC6B8; text-decoration: underline; }

/* Project page */
.back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; padding: 10px 0; }
.project-head { padding-top: 48px; padding-bottom: 40px; }
.project-head .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; }
.project-head h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.05; max-width: 820px; }
.project-head .lead { max-width: 380px; }
.project-cover img { width: 100%; max-height: 780px; object-fit: cover; }
.project-info { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 88px; padding-bottom: 88px; }
.project-info .text { flex: 999 1 520px; min-width: 0; max-width: 720px; }
.project-info .text h2 { font-size: 34px; margin-bottom: 24px; }
.project-info .body p + p { margin-top: 18px; }
.project-info .body p { font-size: 18px; font-weight: 300; }
.spec { flex: 1 1 300px; margin: 0; align-self: flex-start; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.spec dd { margin: 0; text-align: right; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery figcaption { padding-top: 12px; font-size: 14px; color: var(--muted); }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px; }
.swatches .chip { height: 120px; }
.swatches p { margin-top: 12px; font-size: 15px; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.pager a { text-decoration: none; }
.pager .k { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pager .t { font-family: var(--serif); font-size: 24px; }
.pager .next { text-align: right; margin-left: auto; }
.cta { max-width: 980px; margin: 0 auto; padding: 104px 32px; text-align: center; }
.cta h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 18px; }
.cta .lead { margin-bottom: 32px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(20, 18, 16, 0.92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox .close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 1px solid var(--ivory); background: transparent; color: var(--ivory); font-size: 22px; cursor: pointer; }

/* Legal + simple pages */
.prose { max-width: 760px; padding-top: 64px; padding-bottom: 112px; }
.prose h1 { font-size: clamp(36px, 4vw, 54px); margin-bottom: 24px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose .draft { background: var(--stone); padding: 14px 18px; font-size: 15px; margin-bottom: 28px; }
