/* ═══════════════════════════════════════════════════
   DA·T·UM architecture studio — stylesheet
   Minimal, accessible, multi-page static site
═══════════════════════════════════════════════════ */

/* ── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #fafaf8;
  --white:       #ffffff;
  --ink:         #1a1a1a;
  --ink-light:   #555550;
  --ink-subtle:  #999990;
  --rule:        #e0e0dc;
  --accent:      #1a1a1a;
  --dark-section:#1a1a1a;
  --dark-text:   #fafaf8;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  --space-xs:    0.5rem;
  --space-s:     1rem;
  --space-m:     2rem;
  --space-l:     4rem;
  --space-xl:    7rem;

  --radius:      2px;
  --transition:  0.25s ease;
  --max-w:       1200px;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── ACCESSIBILITY ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ── LAYOUT ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

.section {
  padding-block: var(--space-xl);
}

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  max-width: 65ch;
  color: var(--ink-light);
  font-size: 1rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: var(--space-m);
  max-width: none;
}
.section-label--light { color: rgba(250,250,248,0.5); }

/* Section title — dark by default, overridden in dark sections */
.section-title {
  margin-bottom: var(--space-l);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}
a:hover { opacity: 0.65; }

address { font-style: normal; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); opacity: 1; }

.btn-primary {
  background: var(--white);
  color: var(--ink);
}
.btn-primary:hover { background: #f0f0ee; }

.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { background: #f0f0ee; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.7rem 1.6rem;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1;
}
.logo-name {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
}
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--ink-light);
  display: block;
}
.logo-wordmark--large .logo-name {
  font-size: 1.6rem;
  letter-spacing: 0.42em;
  color: var(--ink);
  opacity: 0.15;
}
.logo-wordmark--large .logo-sub {
  font-size: 0.68rem;
  opacity: 0.15;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
}

.nav-menu a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: opacity var(--transition);
}
.nav-menu a:hover { opacity: 0.5; }
.nav-menu a.nav-current {
  opacity: 0.35;
  pointer-events: none;
}

.lang-toggle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 0.3rem 0.65rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-toggle:hover { background: var(--ink); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 38px;
  height: 38px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   HERO (index.html)
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.25) 0%,
    rgba(10,10,10,0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.hero-slogan {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4.5vw, 3.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.25;
  max-width: 22ch;
  margin-bottom: var(--space-l);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-m);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════
   HOME — INTRO SECTION
═══════════════════════════════════════════════════ */
.section-intro {
  background: var(--white);
  padding-block: var(--space-xl);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
}
.intro-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  max-width: none;
  margin-bottom: var(--space-m);
}
.intro-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  align-items: flex-start;
}

/* ═══════════════════════════════════════════════════
   PHOTO BREAK — full-width atmospheric
═══════════════════════════════════════════════════ */
.photo-break {
  width: 100%;
  height: 62vh;
  min-height: 320px;
  overflow: hidden;
  display: block;
  line-height: 0;
}
.photo-break--tall { height: 78vh; }
.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  display: block;
}

/* ═══════════════════════════════════════════════════
   HOME — 4-COL PHOTO STRIP
═══════════════════════════════════════════════════ */
.photo-strip-4 {
  width: 100%;
  background: #111;
  line-height: 0;
}
.strip-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-4-grid div {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #111;
}
.strip-4-grid div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  opacity: 0.85;
  display: block;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.strip-4-grid div:hover img { opacity: 1; transform: scale(1.03); }

/* ═══════════════════════════════════════════════════
   INNER PAGES — PAGE HEADER
═══════════════════════════════════════════════════ */
.page-header {
  padding-top: calc(68px + 5rem);
  padding-bottom: 3.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.page-heading {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════
   ABOUT / PROFIL PAGE
═══════════════════════════════════════════════════ */
.section-about {
  background: var(--white);
  padding-block: var(--space-xl);
}
/* On home, about section needs nav offset */
.section-about--hero-before {
  padding-top: calc(var(--space-xl) + 68px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.about-name {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.about-title {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: var(--space-l);
  max-width: none;
}

.about-bio p {
  margin-bottom: var(--space-m);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-light);
}
.about-bio p:last-child { margin-bottom: 0; }

.about-portrait {
  position: sticky;
  top: calc(68px + 2rem);
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(1);
}

/* Small photo row (3-col, profil) */
.photo-row-3 {
  width: 100%;
  background: #111;
  line-height: 0;
}
.row-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.row-3-grid div {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #111;
}
.row-3-grid div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.85;
  display: block;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.row-3-grid div:hover img { opacity: 1; transform: scale(1.03); }

/* ═══════════════════════════════════════════════════
   SERVICES / YPIRESIES PAGE
═══════════════════════════════════════════════════ */
.section-services {
  background: #f0efeb;
  padding-block: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.services-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.services-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--space-m);
  align-items: start;
  padding-block: var(--space-m);
  border-bottom: 1px solid var(--rule);
  transition: background var(--transition);
}
.services-list li:hover { background: rgba(255,255,255,0.55); }

.service-num {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--ink-subtle);
  padding-top: 0.2rem;
  font-weight: 400;
}
.services-list h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.services-list p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.6;
}

.services-floorplan {
  position: absolute;
  right: -4%;
  bottom: -5%;
  width: min(55%, 500px);
  opacity: 0.06;
  pointer-events: none;
  filter: grayscale(1);
}
.services-floorplan img { width: 100%; display: block; }

/* Work photos (3-col on ypiresies page) */
.work-photos {
  width: 100%;
  background: #111;
  line-height: 0;
}
.work-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.work-photos-grid div {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #111;
}
.work-photos-grid div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.85;
  display: block;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.work-photos-grid div:hover img { opacity: 1; transform: scale(1.03); }

/* ═══════════════════════════════════════════════════
   REMOTE / EX-APOSTASEOS PAGE
═══════════════════════════════════════════════════ */
.section-remote {
  background: var(--white);
  padding-block: var(--space-xl);
}
.remote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}
.remote-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--ink);
  margin-bottom: var(--space-m);
}
.remote-text > p {
  margin-bottom: var(--space-m);
  line-height: 1.8;
}
.remote-list {
  list-style: none;
  margin-bottom: var(--space-m);
  border-left: 1px solid var(--rule);
  padding-left: var(--space-m);
}
.remote-list li {
  padding-block: 0.4rem;
  font-size: 0.95rem;
  color: var(--ink-light);
  max-width: none;
}
.remote-list li::before { content: '—  '; color: var(--ink-subtle); }
.remote-tool {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-subtle);
}
.remote-quote { display: flex; align-items: center; }
.remote-quote blockquote {
  border-left: 2px solid var(--ink);
  padding-left: var(--space-m);
}
.remote-quote blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: var(--space-m);
  max-width: 36ch;
}
.remote-quote cite {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-subtle);
  font-style: normal;
}
.remote-quote cite em { display: block; margin-top: 0.25rem; font-style: italic; }

/* ═══════════════════════════════════════════════════
   CONTACT / EPIKOINONIA PAGE
═══════════════════════════════════════════════════ */
.section-contact-info {
  background: var(--white);
  padding-block: var(--space-xl);
}
.section-contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ink);
  margin-bottom: var(--space-l);
}

/* Contact list — EXPLICIT dark colors, no inheritance issues */