/*
Theme Name: Gabriel Modern
Author: Gabriel Stoyanov
Description: A refined editorial portfolio theme for Gabriel Stoyanov.
Version: 1.8.2
Text Domain: gabriel-modern
*/

:root {
  --ink: #171717;
  --paper: #f4f1eb;
  --white: #fff;
  --line: rgba(23,23,23,.18);
  --accent: #9a7651;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.site-shell { width: min(1400px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: absolute; z-index: 30; inset: 0 0 auto; padding: 22px 0; color: var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { text-decoration: none; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 2rem; line-height: 1; }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.menu-toggle { display: none; border: 0; background: transparent; color: inherit; font-size: 1.5rem; }
.hero { min-height: 100vh; display: grid; align-items: end; position: relative; color: var(--ink); background: #eee9e0 url('https://gabrielstoyanov.com/wp-content/uploads/2021/01/DSC5474.jpg') 75% 28%/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,241,233,.98) 0%, rgba(245,241,233,.9) 36%, rgba(245,241,233,.12) 67%); }
.hero-content { position: relative; z-index: 1; padding: 170px 0 80px; max-width: 900px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 700; }
h1,h2,h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.05; }
h1 { margin: 16px 0 18px; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: clamp(4.2rem, 9vw, 8.5rem); letter-spacing: -.045em; }
h2 { margin: 0 0 28px; font-size: clamp(2.8rem, 6vw, 6.2rem); letter-spacing: -.045em; }
h3 { font-size: 1.8rem; }
.hero-subtitle { max-width: 630px; margin: 0 0 34px; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid currentColor; text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 700; }
.button.solid { color: #fff; background: var(--accent); border-color: var(--accent); }
.section { padding: 120px 0; }
.section-dark { color: var(--ink); background: #fff; }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 10vw, 160px); align-items: start; }
.lead { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.55rem, 3vw, 2.7rem); line-height: 1.3; }
.credentials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid var(--line); }
.credential { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.credential strong { display: block; font-family: Georgia, serif; font-size: 1.2rem; }
.credential span { color: #666; font-size: .85rem; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 720px; background: #fff; }
.feature-split.feature-reverse .feature-image { order: 2; }
.feature-image { min-height: 620px; background-size: cover; background-position: center; filter: grayscale(100%); }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(55px, 8vw, 130px); }
.feature-copy h2 { font-size: clamp(2.5rem, 4.5vw, 5rem); }
.feature-copy .button { align-self: flex-start; margin-top: 24px; color: var(--accent); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery figure { margin: 0; overflow: hidden; background: #e8e3da; }
.gallery figure:nth-child(1), .gallery figure:nth-child(4) { grid-column: span 7; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 5; }
.gallery figure:nth-child(n+5) { grid-column: span 4; }
.gallery img { width: 100%; height: 560px; object-fit: cover; filter: grayscale(100%); transition: transform .7s ease, filter .4s ease; }
.gallery figure:nth-child(n+5) img { height: 410px; }
.gallery figure:hover img { transform: scale(1.025); filter: grayscale(0); }
.training-statement { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 42px; margin: 0 0 55px; padding-top: 28px; border-top: 1px solid var(--line); }
.training-statement .lead { margin: 0; font-size: 1.55rem; }
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: #d8cbbb; border: 1px solid #d8cbbb; }
.service { grid-column: span 2; padding: 42px; background: var(--paper); }
.service-featured { grid-column: span 3; }
.service-number { color: #bda58c; letter-spacing: .16em; font-size: .72rem; }
.service h3 { margin: 54px 0 18px; }
.service-price { display: block; margin-top: 28px; color: #806244; }
.classes-button { margin-top: 34px; color: var(--accent); }
.calendar-section { background: var(--paper); }
.calendar-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.calendar-head p { max-width: 560px; font-family: Georgia, serif; font-size: 1.25rem; }
.calendar-list { border-top: 1px solid var(--line); }
.calendar-group { padding-top: 34px; }
.calendar-group + .calendar-group { margin-top: 38px; border-top: 1px solid var(--line); }
.calendar-subtitle { margin: 0 0 20px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.calendar-note { margin: 0; color: rgba(23,23,23,.66); }
.calendar-event { display: grid; grid-template-columns: 190px 1fr 220px; gap: 34px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.calendar-event time strong { display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; white-space: nowrap; }
.calendar-event time span, .event-type { text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; color: var(--accent); }
.calendar-event h3 { margin: 7px 0 5px; font-size: 2rem; }
.calendar-event p { margin: 0; color: #666; }
.event-link { text-align: right; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.event-link a { color: var(--accent); }
.event-link span { color: #777; }
.calendar-empty { padding: 48px 0 10px; }
.calendar-empty .lead { margin-bottom: 5px; }
.calendar-empty .button { margin-top: 22px; color: var(--accent); }
.calendar-sample { opacity: .82; }
.calendar-sample .event-link span { color: var(--accent); }
.press-preview { background: #ebe5da; }
.press-preview-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.press-preview-head p { max-width: 580px; font-family: Georgia, serif; font-size: 1.25rem; }
.press-preview-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.press-preview-card { grid-column: span 4; min-height: 430px; position: relative; background-size: cover; background-position: center; filter: grayscale(100%); }
.press-preview-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.02) 72%); }
.press-preview-content { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 28px; color: #fff; }
.press-preview-card span, .press-preview-links a { text-transform: uppercase; letter-spacing: .14em; font-size: .67rem; }
.press-preview-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.press-preview-links a { color: #fff; font-weight: 700; }
.press-preview-links a:last-child { color: #d6b692; }
.press-preview-card h3 { margin: 10px 0 22px; font-size: clamp(1.65rem, 2.4vw, 2.7rem); }
.press-preview-action { margin-top: 34px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 10vw, 160px); align-items: end; }
.contact-links { border-top: 1px solid var(--line); }
.contact-link { display: flex; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-link.whatsapp-action strong { color: var(--accent); }
.based-in { margin-top: 55px; }
.based-in span { display: block; text-transform: uppercase; letter-spacing: .28em; font-size: .68rem; font-weight: 700; }
.based-in strong { display: block; margin-top: 10px; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; line-height: 1.15; }
.based-in i { display: block; width: 90px; height: 1px; margin: 24px 0; background: var(--accent); }
.based-in p { font-family: Georgia, serif; font-size: 1.15rem; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-inner > :last-child { text-align: right; }
.footer-social { display: flex; justify-content: center; gap: 24px; }
.footer-social a { text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--accent); border-color: currentColor; }
.content-page { max-width: 900px; margin: 0 auto; padding: 150px 24px 100px; }
.content-page h1 { color: var(--ink); font-size: clamp(3rem, 7vw, 6rem); }
.content-page img { height: auto; }
.biography-page article { max-width: 780px; }
.biography-page p { margin: 0 0 1.6em; font-size: 1.08rem; line-height: 1.8; }
.biography-page .biography-lead { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.55; }
.press-page { background: var(--paper); }
.press-hero { padding: 180px 0 80px; border-bottom: 1px solid var(--line); }
.press-hero h1 { margin-bottom: 20px; }
.press-hero p { max-width: 700px; font-family: Georgia, serif; font-size: 1.4rem; }
.press-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; padding-top: 60px; padding-bottom: 100px; }
.press-card { grid-column: span 6; min-height: 520px; position: relative; display: flex; align-items: end; background-size: cover; background-position: center; overflow: hidden; }
.press-card:nth-child(3n) { grid-column: span 12; min-height: 620px; }
.press-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.86), rgba(0,0,0,.05) 70%); }
.press-card-content { position: relative; z-index: 1; width: 100%; padding: 34px; color: #fff; }
.press-card h2 { max-width: 820px; margin: 8px 0 26px; font-size: clamp(2rem, 4vw, 4.2rem); }
.press-meta { text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; }
.press-actions { display: flex; flex-wrap: wrap; gap: 20px; }
.press-actions a { text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 700; }
@media (max-width: 850px) {
  .site-shell { width: min(100% - 32px, 1400px); }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 58px; right: 16px; flex-direction: column; align-items: flex-end; padding: 22px; background: rgba(0,0,0,.92); }
  .site-nav.open { display: flex; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.feature-reverse .feature-image { order: 0; }
  .credentials, .services, .training-statement { grid-template-columns: 1fr; }
  .service, .service-featured { grid-column: span 1; }
  .press-preview-head { grid-template-columns: 1fr; gap: 20px; }
  .calendar-head { grid-template-columns: 1fr; gap: 20px; }
  .calendar-event { grid-template-columns: 124px 1fr; gap: 16px; }
  .calendar-event time strong { font-size: 2.5rem; letter-spacing: -.04em; white-space: nowrap; }
  .event-link { grid-column: 2; text-align: left; }
  .press-preview-card { grid-column: span 12; min-height: 460px; }
  .gallery figure, .gallery figure:nth-child(n) { grid-column: span 12; }
  .gallery img, .gallery figure:nth-child(n) img { height: min(125vw, 620px); }
  .section { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
  .footer-inner > :last-child { text-align: left; }
  .footer-social { justify-content: flex-start; }
  .press-card, .press-card:nth-child(3n) { grid-column: span 12; min-height: 480px; }
}
