/* ================================
   alexsirac.pro — stylesheet
   ================================ */

@font-face {
  font-family: 'Creato Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/CreatoDisplay-Medium.otf') format('opentype');
}
@font-face {
  font-family: 'Caldstone';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Caldstone-SemiBold.otf') format('opentype');
}
@font-face {
  font-family: 'Caldstone';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Caldstone-SemiBold.otf') format('opentype');
}

/* ---- Design tokens ---- */
:root {
  --c-green:       #12511b;
  --c-green-light: #e1f2eb;
  --c-green-mid:   #b8d9c6;
  --c-green-dim:   rgba(18, 81, 27, 0.15);
  --c-white:       #ffffff;
  --c-text:        #1a1a1a;
  --c-text-sec:    #4a5e4d;
  --c-text-muted:  #8fa48a;

  --f-display: 'Caldstone', Georgia, 'Times New Roman', serif;
  --f-body:    'Creato Display', ui-sans-serif, system-ui, sans-serif;

  --max-w:    1100px;
  --pad-x:    2rem;
  --pad-sec:  5rem;
  --header-h: 62px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

ul[role="list"] {
  list-style: none;
}

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--c-green);
}

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ================================
   HEADER
   ================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--c-white);
  border-bottom: 2px solid var(--c-green);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--c-green);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--c-green);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.lang-current {
  color: var(--c-green);
}

.lang-sep {
  color: var(--c-text-muted);
  font-weight: 300;
  padding-inline: 0.15rem;
}

.lang-link {
  color: var(--c-text-muted);
  text-decoration: none;
}

.lang-link:hover {
  color: var(--c-green);
}

/* ================================
   HERO
   ================================ */
.hero {
  background: var(--c-green-light);
  border-bottom: 2px solid var(--c-green);
  padding: 5rem 0 5.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
}

.hero-identity {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.hero-photo {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  border: 2px solid var(--c-green);
  border-radius: 3px;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-meta {
  padding-top: 0.25rem;
}

.hero-name {
  font-family: var(--f-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--c-green);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.hero-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-text-sec);
}

.hero-location {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  margin-top: 0.25rem;
}

.hero-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.625rem, 2.75vw, 2.5rem);
  line-height: 1.3;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

/* ================================
   SECTION BASE
   ================================ */
.section {
  padding: var(--pad-sec) 0;
}

.section-tinted {
  background: var(--c-green-light);
}

h2 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 1.75rem;
}

.section-eyebrow-light {
  color: rgba(225, 242, 235, 0.6);
}

/* ================================
   BIO
   ================================ */
.bio-text {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--c-text);
  max-width: 640px;
}

/* ================================
   CLIENTS / SOCIAL PROOF
   ================================ */
.clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: center;
}

.client-logo-item {
  display: flex;
  align-items: center;
  height: 48px;
}

.client-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Per-logo optical adjustments — different aspect ratios need different heights to feel balanced */
.client-logo[src*="meta"]      { height: 28px; }
.client-logo[src*="hubspot"]   { height: 36px; }
.client-logo[src*="hyli"]      { height: 28px; }
.client-logo[src*="jobteaser"] { height: 34px; }
.client-logo[src*="seb"]       { height: 48px; }

.client-logo-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--c-green);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ================================
   CONTACT
   ================================ */
.section-contact {
  background: var(--c-green);
  padding: 6rem 0;
  text-align: center;
}

.contact-cta {
  font-size: 1.0625rem;
  color: var(--c-green-light);
  margin-bottom: 1.75rem;
}

.contact-email {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--c-white);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 0.1em;
  display: inline-block;
}

.contact-email:hover {
  border-color: var(--c-white);
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
  background: var(--c-green);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--c-green-light);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 720px) {
  :root {
    --pad-sec: 3.5rem;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.625rem;
  }
}

@media (max-width: 480px) {
  :root {
    --pad-sec: 3rem;
    --pad-x: 1.25rem;
  }

  .hero-identity {
    flex-direction: column;
  }

  .hero-photo {
    width: 120px;
    height: 120px;
  }

  .hero-photo span {
    font-size: 1.5rem;
  }

  .clients-list {
    gap: 0.6rem 1.75rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}
