/* ————— Ece Ebrar Sözkesen — minimal editorial design system ————— */
:root {
  --paper: #faf9f6;
  --ink: #17140f;
  --muted: #7d776e;
  --accent: #a3232b;
  --line: #e6e2da;
  --soft: #f1eee8;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ————— header ————— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  letter-spacing: .02em; white-space: nowrap;
}
.brand em { font-style: normal; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
.lang-toggle {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-size: .72rem; letter-spacing: .08em;
}
.lang-toggle button {
  border: 0; background: transparent; padding: 5px 12px; cursor: pointer;
  font-family: var(--sans); color: var(--muted);
}
.lang-toggle button.on { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; border: 0; background: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none; padding: 12px 0 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 24px; width: 100%; text-align: center; }
}

/* ————— hero ————— */
.hero { padding: 96px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.eyebrow {
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px; font-weight: 500;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em;
  margin-bottom: 26px;
}
.hero .lead { font-size: 1.08rem; color: var(--muted); max-width: 34em; margin-bottom: 38px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--ink); transition: all .2s; background: transparent; font-family: var(--sans);
}
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.hero-art { position: relative; }
.hero-art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-art figcaption { font-size: .74rem; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
@media (max-width: 880px) {
  .hero { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ————— sections ————— */
section.block { padding: 84px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 44px; gap: 20px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sec-head .more { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.sec-head .more:hover { text-decoration: underline; }
.kicker { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }

/* ————— about ————— */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-grid img { width: 100%; object-fit: cover; }
.about-text p { margin-bottom: 1.1em; }
.about-text .fig-note { font-size: .74rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* experience */
.xp { margin-top: 40px; }
.xp-row {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 18px;
  padding: 13px 0; border-top: 1px solid var(--line); font-size: .92rem;
}
.xp-row .yr { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.xp-row .role { color: var(--muted); text-align: right; }
@media (max-width: 640px) {
  .xp-row { grid-template-columns: 80px 1fr; }
  .xp-row .role { grid-column: 2; text-align: left; font-size: .82rem; }
}

/* ————— services ————— */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  border: 1px solid var(--line); padding: 30px 26px; background: #fff;
  display: flex; flex-direction: column; gap: 10px; transition: border-color .2s;
}
.svc:hover { border-color: var(--ink); }
.svc h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.svc .meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc p { font-size: .92rem; color: var(--muted); flex: 1; }
.svc .price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--accent); }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }

/* ————— art grid ————— */
.art-cols { columns: 3 300px; column-gap: 22px; }
.art-card { break-inside: avoid; margin-bottom: 22px; cursor: pointer; }
.art-card img { width: 100%; transition: opacity .25s; }
.art-card:hover img { opacity: .85; }
.art-card .cap { padding: 10px 2px 4px; }
.art-card .cap .t { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.art-card .cap .m { font-size: .76rem; color: var(--muted); letter-spacing: .04em; }
.works-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.works-strip .art-card .cap .t { font-size: 1rem; }
.works-strip .art-card img { aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 880px) { .works-strip { grid-template-columns: repeat(2, 1fr); } }

/* ————— lightbox ————— */
.lb {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(23, 20, 15, .92); overflow-y: auto; padding: 4vh 20px;
}
.lb.open { display: block; }
.lb-inner {
  max-width: 980px; margin: 0 auto; background: var(--paper);
  display: grid; grid-template-columns: 1.05fr .95fr;
}
.lb-inner .im { background: var(--soft); display: flex; align-items: center; }
.lb-inner .im img { width: 100%; height: auto; max-height: 88vh; object-fit: contain; }
.lb-body { padding: 42px 38px; position: relative; }
.lb-body h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; margin-bottom: 4px; }
.lb-body .meta { font-size: .8rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-bottom: 20px; }
.lb-body .note { font-size: .84rem; color: var(--accent); margin-bottom: 16px; }
.lb-body .desc { font-size: .95rem; white-space: pre-line; max-height: 52vh; overflow-y: auto; padding-right: 8px; }
.lb-body .orig-note { font-size: .74rem; color: var(--muted); margin-top: 14px; font-style: italic; }
.lb-close {
  position: absolute; top: 14px; right: 16px; border: 0; background: none;
  font-size: 1.6rem; cursor: pointer; color: var(--muted); line-height: 1;
}
.lb-close:hover { color: var(--accent); }
@media (max-width: 880px) { .lb-inner { grid-template-columns: 1fr; } .lb-body { padding: 28px 22px; } }

/* ————— press ————— */
.press-list { display: flex; flex-direction: column; }
.press-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 26px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.press-item .outlet { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.press-item .date { font-size: .74rem; color: var(--muted); display: block; margin-top: 4px; }
.press-item h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.press-item p { font-size: .92rem; color: var(--muted); max-width: 56em; }
.press-item .quote { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--ink); margin-top: 10px; }
.press-item .go { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.press-item:hover .go { color: var(--accent); }
.press-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.press-card { border: 1px solid var(--line); background: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s; }
.press-card:hover { border-color: var(--ink); }
.press-card h3 { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; line-height: 1.3; flex: 1; }
.press-card p { font-size: .88rem; color: var(--muted); }
@media (max-width: 880px) {
  .press-cards { grid-template-columns: 1fr; }
  .press-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ————— communities ————— */
.comm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.comm-card { border: 1px solid var(--line); background: #fff; transition: border-color .2s; display: flex; flex-direction: column; }
.comm-card:hover { border-color: var(--ink); }
.comm-card img { aspect-ratio: 16/10; object-fit: cover; }
.comm-card .pad { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.comm-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.comm-card .years { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.comm-card p { font-size: .9rem; color: var(--muted); flex: 1; }
.comm-card .ig { font-size: .78rem; letter-spacing: .1em; color: var(--ink); }
.comm-card .ig:hover { color: var(--accent); }
.comm-section { margin-bottom: 72px; }
.comm-section .desc { max-width: 46em; color: var(--muted); margin: 14px 0 26px; }
.mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.mini-grid a { display: block; overflow: hidden; }
.mini-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .3s; }
.mini-grid a:hover img { transform: scale(1.05); }
@media (max-width: 880px) { .comm-grid { grid-template-columns: 1fr; } .mini-grid { grid-template-columns: repeat(3, 1fr); } }

/* ————— design page ————— */
.design-cols { columns: 3 300px; column-gap: 22px; }
.design-cols .art-card { cursor: default; }

/* ————— booking ————— */
.booking-band { background: var(--ink); color: var(--paper); }
.booking-band .inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; padding: 76px 0; align-items: center; }
.booking-band h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 600; margin-bottom: 14px; }
.booking-band p { color: #b8b2a8; font-size: .95rem; max-width: 36em; }
.booking-band .kicker { color: var(--accent); }
.slot-box { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); padding: 30px; }
.slot-box .lbl { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #b8b2a8; margin-bottom: 12px; }
.slot-box input[type="date"] {
  width: 100%; background: transparent; border: 1px solid rgba(255,255,255,.25);
  color: var(--paper); padding: 11px 14px; font-family: var(--sans); font-size: .95rem; margin-bottom: 20px;
  color-scheme: dark;
}
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.slots button {
  padding: 11px 0; background: transparent; border: 1px solid rgba(255,255,255,.25);
  color: var(--paper); font-family: var(--sans); font-size: .9rem; cursor: pointer; transition: all .15s;
}
.slots button:hover { border-color: var(--paper); }
.slots button.sel { background: var(--accent); border-color: var(--accent); }
.slot-box .btn { width: 100%; border-color: var(--paper); color: var(--paper); text-align: center; }
.slot-box .btn:hover { background: var(--paper); color: var(--ink); }
.slot-box .hint { font-size: .74rem; color: #8a847a; margin-top: 14px; }
.gcal-frame { border: 0; width: 100%; height: 640px; background: #fff; }
@media (max-width: 880px) { .booking-band .inner { grid-template-columns: 1fr; gap: 36px; } .slots { grid-template-columns: repeat(2, 1fr); } }

/* ————— contact ————— */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-grid .big-mail { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; }
.contact-grid .big-mail:hover { color: var(--accent); }
.soc-list { margin-top: 34px; display: flex; flex-direction: column; }
.soc-list a { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.soc-list a span.h { color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.soc-list a:hover { color: var(--accent); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ————— footer ————— */
.site-footer { padding: 46px 0 60px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: baseline; }
.site-footer .brand { font-size: 1.1rem; }
.site-footer .socials { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .socials a { font-size: .78rem; letter-spacing: .1em; color: var(--muted); }
.site-footer .socials a:hover { color: var(--accent); }
.site-footer .copy { font-size: .74rem; color: var(--muted); margin-top: 18px; }

/* page hero (inner pages) */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 8px; }
.page-hero .lead { color: var(--muted); max-width: 44em; margin-top: 16px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.vis { opacity: 1; transform: none; }

/* ————— mobile spacing refinements ————— */
@media (max-width: 640px) {
  section.block { padding: 52px 0; }
  .sec-head { margin-bottom: 26px; }
  .hero { padding: 44px 0; }
  .hero-grid { gap: 30px; }
  .hero .lead { margin-bottom: 28px; }
  .about-grid { gap: 24px; }
  .about-grid .fig-note { margin-top: 6px; }
  .page-hero { padding: 48px 0 40px; }

  /* works strip: tighter grid, single-line meta */
  .works-strip { gap: 14px 12px; }
  .works-strip .art-card { margin-bottom: 0; min-width: 0; }
  .works-strip .art-card .cap { padding-top: 8px; }
  .works-strip .art-card .cap .t {
    font-size: .95rem; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  }
  .works-strip .art-card .cap .m {
    font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  .art-cols, .design-cols { column-gap: 14px; }
  .art-card { margin-bottom: 16px; }

  .svc-grid, .press-cards, .comm-grid { gap: 14px; }
  .svc { padding: 24px 20px; }
  .press-card { padding: 22px 20px; }
  .press-item { padding: 20px 0; }

  .booking-band .inner { padding: 48px 0; gap: 26px; }
  .slot-box { padding: 22px 18px; }
  .contact-grid { gap: 28px; }
  .comm-section { margin-bottom: 48px; }
  .site-footer { padding: 34px 0 44px; }
  .site-footer .cols { flex-direction: column; gap: 14px; }
}
