/* Lucía Dälél — static portfolio. Vanilla CSS, no frameworks. */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f4ee;
  --bg-card: #fbf9f6;
  --gold: #a9823f;
  --gold-light: #96762f;
  --text: #211c15;
  --muted: #6f6455;
  --line: #e4ddd0;
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Almarai', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.3; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--sans); font-size: 12px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}

/* header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 22px; color: var(--text); letter-spacing: 1px; }
.brand:hover { color: var(--gold-light); }
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  color: var(--muted); font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; transition: .3s; }

/* hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,.94) 8%, rgba(20,18,16,.35) 55%, rgba(20,18,16,.25) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 32px 90px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 4vw, 44px); max-width: 800px; }
.hero { color: #f7f2e9; }
.hero-sub { margin-top: 16px; color: rgba(240, 235, 225, 0.85); letter-spacing: 1px; font-size: 15px; }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.section-title { font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 12px; }
.section-lead { color: var(--muted); max-width: 720px; font-size: 18px; }
.prose { max-width: 780px; }
.prose p { margin-bottom: 1.4em; color: #3d372e; }
.prose p strong { color: var(--text); font-weight: 400; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.img-frame { border: 1px solid var(--line); padding: 10px; background: #f4f0e9; }
.img-frame img { width: 100%; }
.caption { font-size: 13px; color: var(--muted); margin-top: 10px; letter-spacing: .5px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; margin-top: 48px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  transition: transform .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); }
.card .card-img { aspect-ratio: 4/5; overflow: hidden; background: #f4f0e9; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { font-size: 19px; margin-bottom: 6px; }
.card-body p { font-size: 14px; color: var(--muted); }
.card-price { color: var(--gold-light); font-size: 15px; letter-spacing: 1px; margin-top: 8px; }

/* work detail */
.work-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; padding: 150px 0 96px; }
@media (max-width: 860px) { .work-detail { grid-template-columns: 1fr; padding-top: 120px; } }
.work-meta { list-style: none; margin: 28px 0; border-top: 1px solid var(--line); }
.work-meta li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.work-meta li strong { color: var(--text); font-weight: 400; display: inline-block; min-width: 130px; }
.work-quote { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-light); margin: 24px 0; padding-left: 20px; border-left: 2px solid var(--gold); }
.back-link { display: inline-block; margin-bottom: 32px; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }

/* exhibitions */
.exhibition { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; border-bottom: 1px solid var(--line); align-items: center; }
.exhibition:last-child { border-bottom: none; }
@media (max-width: 860px) { .exhibition { grid-template-columns: 1fr; } }
.exhibition h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.exhibition p { color: #3d372e; margin-bottom: 1.2em; }
.ex-video { width: 100%; height: auto; display: block; margin-top: 16px; }

/* book */
.book-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; padding: 160px 0 96px; align-items: center; }
@media (max-width: 860px) { .book-hero { grid-template-columns: 1fr; padding-top: 130px; } }
.book-cover { max-width: 420px; margin: 0 auto; box-shadow: 0 30px 80px rgba(60,50,30,.28); }
.btn {
  display: inline-block; margin-top: 28px; padding: 16px 42px;
  border: 1px solid var(--gold); color: var(--gold-light);
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--gold); color: #ffffff; }
.btn.disabled { opacity: .55; cursor: default; }
.btn-note { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 150px 0 96px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; padding-top: 120px; } }
.rep-block { margin-bottom: 32px; }
.rep-block h3 { color: var(--gold-light); font-size: 20px; margin-bottom: 8px; }
.rep-block p { color: var(--muted); font-size: 15px; }
form.contact-form { display: grid; gap: 18px; margin-top: 8px; }
.contact-form label { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; background: #ffffff; border: 1px solid var(--line);
  color: var(--text); font-family: var(--sans); font-size: 16px; border-radius: 2px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button {
  justify-self: start; padding: 15px 44px; background: transparent; cursor: pointer;
  border: 1px solid var(--gold); color: var(--gold-light);
  font-size: 14px; letter-spacing: 3px; text-transform: uppercase; font-family: var(--sans);
}
.contact-form button:hover { background: var(--gold); color: #ffffff; }
.form-note { font-size: 13px; color: var(--muted); }

/* timeline (about) */
.timeline { list-style: none; margin-top: 40px; max-width: 860px; }
.timeline li { padding: 14px 0 14px 28px; border-left: 1px solid var(--line); position: relative; color: #3d372e; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 22px; width: 9px; height: 9px;
  background: var(--gold); border-radius: 50%;
}
.timeline .year { color: var(--gold-light); font-family: var(--serif); margin-right: 10px; }

/* instagram strip */
.insta-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
@media (max-width: 700px) { .insta-strip { grid-template-columns: repeat(2, 1fr); } }
.insta-strip a { aspect-ratio: 1; overflow: hidden; background: #f4f0e9; }
.insta-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insta-strip a:hover img { transform: scale(1.06); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 32px 32px; background: #faf8f4; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { font-family: var(--serif); font-size: 24px; }
.footer-contact p { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.copyright { max-width: var(--maxw); margin: 40px auto 0; font-size: 12px; color: #8a7f6e; letter-spacing: .5px; }

/* page head spacing */
.page-head { padding: 150px 0 40px; }
@media (max-width: 860px) { .page-head { padding-top: 120px; } }

/* mobile nav */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: min(78vw, 320px); height: 100vh;
    background: #ffffff; flex-direction: column; padding: 100px 40px; gap: 28px;
    transition: right .35s ease; border-left: 1px solid var(--line);
  }
  .main-nav.open { right: 0; }
  .site-header { padding: 14px 20px; }
}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* featured works with full descriptions (home) */
.feature-works { margin-top: 48px; display: grid; gap: 72px; }
.feature-work { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 48px; align-items: start; }
.feature-work:nth-child(even) { direction: rtl; }
.feature-work:nth-child(even) > * { direction: ltr; }
.feature-work h3 { font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 16px; }
.feature-work h3 a { color: inherit; text-decoration: none; }
.feature-work h3 a:hover { color: var(--gold-light); }
@media (max-width: 860px) { .feature-work { grid-template-columns: 1fr; gap: 24px; } }
