/* ============================================================
   Gorski Collective — base stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

:root{
  --espresso: #3a1c0c;
  --espresso-soft: #5a3420;
  --cream: #f7f2ea;
  --cream-deep: #efe4d2;
  --navy: #182340;
  --line: rgba(58, 28, 12, 0.14);
  --line-on-dark: rgba(247, 242, 234, 0.22);

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--espresso);
}

.visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------- Header ---------------- */

.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo{
  display: inline-flex;
}

.logo img{
  height: 46px;
  width: auto;
  display: block;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--espresso);
  transition: right .3s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after{
  right: 0;
}

.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after{
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--espresso);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle span{ top: 19px; }
.nav-toggle span::before{ top: -7px; }
.nav-toggle span::after{ top: 7px; }

.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ top: 0; transform: rotate(-45deg); }

/* ---------------- Footer ---------------- */

.site-footer{
  background: var(--espresso);
  color: var(--cream);
  padding: 48px 0 24px;
}

.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-on-dark);
}

.footer-brand .logo img{ height: 56px; }

.footer-links{
  display: flex;
  gap: 72px;
  flex-wrap: wrap;
}

.footer-col h4{
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,242,234,0.5);
  margin-bottom: 16px;
}

.footer-col a, .footer-col p{
  display: block;
  font-size: 15px;
  color: var(--cream);
  margin-bottom: 10px;
}
.footer-col a{ opacity: 0.9; }
.footer-col a:hover{ opacity: 1; text-decoration: underline; }

.footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 12.5px;
  color: rgba(247,242,234,0.5);
}

/* ---------------- Reveal-on-scroll ---------------- */

[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Responsive ---------------- */

/* ============================================================
   Home page — minimal splash
   ============================================================ */

.splash{
  height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

.splash-pair{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 96px);
}

.splash-logo{
  width: auto;
  height: auto;
  max-width: min(30vw, 440px);
  max-height: 26vh;
}

.splash-mark{
  width: auto;
  height: auto;
  max-width: min(50vw, 760px);
  max-height: 78vh;
}

/* ============================================================
   Shared minimal section intro (About / Contact)
   ============================================================ */

.section-intro{
  padding: 120px 0 170px;
}

.section-intro .eyebrow{ margin-bottom: 16px; }

.section-intro-line{
  font-size: 17px;
  color: var(--espresso-soft);
  max-width: 46ch;
}

.contact-list{
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-list a{
  display: block;
  width: fit-content;
  font-size: 15px;
  color: var(--espresso);
  transition: opacity .2s ease;
}
.contact-list a:hover{ opacity: 0.65; }

/* ============================================================
   About page
   ============================================================ */

.about-copy{
  padding: 90px 0 160px;
}

.about-copy .grid{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: center;
}

.about-copy .col-photo{
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.about-copy .col-photo img{
  width: 100%;
  height: auto;
  display: block;
}

.about-copy .col-text p{
  font-size: 20px;
  line-height: 2.3;
  letter-spacing: 0.01em;
  color: var(--espresso-soft);
  max-width: 62ch;
}
.about-copy .col-text p + p{ margin-top: 32px; }

/* ============================================================
   Contact page
   ============================================================ */

@media (max-width: 860px){
  .container{ padding: 0 22px; }

  .main-nav{
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--cream);
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 20px 22px 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav a{
    width: auto;
    padding: 6px 0;
    border-bottom: none;
    font-size: 14px;
  }
  .nav-toggle{ display: block; }

  .footer-top{ flex-direction: column; align-items: flex-start; }
  .footer-links{ gap: 44px; }

  .splash{ padding: 24px 22px; }
  .splash-pair{ flex-direction: column-reverse; gap: 20px; }
  .splash-mark{ max-width: 78vw; max-height: 46vh; }
  .splash-logo{ max-width: 70vw; max-height: 16vh; }

  .section-intro{ padding: 96px 0 110px; }
  .about-copy{ padding: 64px 0 100px; }
  .about-copy .grid{ grid-template-columns: 1fr; gap: 32px; }
  .about-copy .col-photo{ position: static; }
}
