/*
Theme Name: GitSzkoła
Description: Strona one page studia edukacji muzycznej GitSzkoła.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: gitszkola
*/

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("assets/fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --gs-chalk: #f8f5ee;
  --gs-ink: #2b2d31;
  --gs-sage: #b8ccbe;
  --gs-coral: #e9a29a;
  --gs-blue: #afcbe3;
  --gs-butter: #f1d782;
  --gs-line: #d6d4ce;
  --gs-muted: #535655;
  --gs-font: "DM Sans", system-ui, sans-serif;
  --gs-gutter: clamp(22px, 4.7vw, 72px);
  --gs-wrap: 1190px;
}
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--gs-chalk);
  color: var(--gs-ink);
  font: 400 17px/1.55 var(--gs-font);
  -webkit-font-smoothing: antialiased;
}
:where(.gs-home, .gs-header, .gs-footer, .gs-standard) { font-family: var(--gs-font); }
:where(.gs-home, .gs-header, .gs-footer) *, :where(.gs-home, .gs-header, .gs-footer) *::before,
:where(.gs-home, .gs-header, .gs-footer) *::after { box-sizing: border-box; }
:where(.gs-home, .gs-footer) :where(h1, h2, h3, h4, p, figure) { margin: 0; }
:where(.gs-home, .gs-header, .gs-footer) img { display: block; max-width: 100%; }
:where(.gs-home, .gs-header, .gs-footer) a { color: inherit; }
:where(.gs-home, .gs-header, .gs-footer) :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
.gs-shell {
  width: min(var(--gs-wrap), calc(100% - var(--gs-gutter) * 2));
  margin-inline: auto;
}
.gs-section { padding-block: clamp(64px, 8vw, 112px); }
.gs-home h2, .gs-footer h2 {
  font-weight: 715;
  font-size: clamp(43px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -.067em;
}
.gs-home h3, .gs-home h4 { font-weight: 690; }
.gs-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--gs-chalk);
  border-bottom: 1px solid var(--gs-line);
}
.admin-bar .gs-header { top: 32px; }
.gs-header-inner {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.gs-brand, .gs-footer-brand { display: inline-flex; align-items: center; }
.gs-brand img { width: 174px; height: auto; }
.gs-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 37px); }
.gs-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.gs-nav a:hover:not(.gs-nav-contact) { text-decoration: underline; text-underline-offset: 5px; }
.gs-nav .gs-nav-contact {
  justify-content: center;
  min-width: 98px;
  padding-inline: 17px;
  border-radius: 99px;
  background: var(--gs-sage);
}
.gs-nav .gs-nav-contact:hover { background: var(--gs-blue); }

.gs-hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 5.4vw, 82px);
  padding-block: clamp(48px, 6.3vw, 94px) clamp(54px, 7vw, 102px);
}
.gs-hero-copy { min-width: 0; }
.gs-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 660;
}
.gs-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--gs-sage);
  border: 1px solid #819788;
}
.gs-hero h1 {
  font-size: clamp(54px, 7.15vw, 109px);
  line-height: .92;
  font-weight: 725;
  letter-spacing: -.079em;
}
.gs-lead {
  margin-top: 26px;
  max-width: 40ch;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--gs-muted);
}
.gs-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}
.gs-actions .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 20px;
  font: 700 15px/1.2 var(--gs-font);
  border: 1px solid var(--gs-ink);
  border-radius: 99px;
  text-decoration: none;
}
.gs-primary .wp-block-button__link { background: var(--gs-ink); color: var(--gs-chalk); }
.gs-primary .wp-block-button__link:hover { background: #43464c; }
.gs-primary .wp-block-button__link:focus-visible { outline-color: var(--gs-ink); }
.gs-secondary .wp-block-button__link { background: transparent; color: var(--gs-ink); }
.gs-secondary .wp-block-button__link:hover { background: var(--gs-sage); }
.gs-hero-visual { position: relative; isolation: isolate; padding: 0 15px 16px 0; min-width: 0; }
.gs-hero-visual::before {
  content: "";
  position: absolute;
  inset: 16px 0 0 15px;
  z-index: -1;
  background: var(--gs-sage);
  border-radius: 22px 28% 22px 22px;
}
.gs-hero-image {
  aspect-ratio: 1.05;
  overflow: hidden;
  border-radius: 22px 28% 22px 22px;
  background: var(--gs-sage);
}
.gs-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.gs-about {
  background: var(--gs-sage);
  color: var(--gs-ink);
}
.gs-about-inner {
  min-height: 202px;
  padding-block: 28px;
  display: grid;
  grid-template-columns: minmax(166px, .83fr) minmax(0, 1.72fr) 145px;
  align-items: center;
  gap: clamp(25px, 4.5vw, 74px);
}
.gs-about h2 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -.06em;
}
.gs-about-text { max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); }
.gs-square-mark { width: 100%; max-width: 140px; justify-self: end; }

.gs-offer > h2, .gs-cycles h2 { margin-bottom: clamp(26px, 4.2vw, 52px); }
.gs-offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 86px);
}
.gs-instrument-list { border-top: 1px solid var(--gs-line); }
.gs-instrument {
  position: relative;
  padding: 16px 10px 16px 29px;
  border-bottom: 1px solid var(--gs-line);
}
.gs-instrument::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 25px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gs-dot);
}
.gs-dot-coral { --gs-dot: var(--gs-coral); }
.gs-dot-blue { --gs-dot: var(--gs-blue); }
.gs-dot-sage { --gs-dot: var(--gs-sage); }
.gs-dot-butter { --gs-dot: var(--gs-butter); }
.gs-instrument h3, .gs-format h4 {
  font-size: clamp(21px, 2.05vw, 29px);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.gs-instrument p, .gs-format-row p { margin-top: 4px; }
.gs-instrument p { color: var(--gs-muted); }
.gs-format {
  padding: clamp(25px, 3.5vw, 46px);
  background: var(--gs-butter);
  border-radius: 22px;
}
.gs-format-heading {
  margin-bottom: 16px;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.1;
  letter-spacing: -.06em;
}
.gs-format-row { padding-top: 16px; }
.gs-format-row + .gs-format-row { margin-top: 15px; border-top: 1px solid #a18e54; }
.gs-format-row p { max-width: 34ch; }

.gs-cycles { background: #efede6; }
.gs-cycle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gs-cycle-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  isolation: isolate;
  min-height: 345px;
  padding: clamp(24px, 3.5vw, 47px);
  overflow: hidden;
  border-radius: 22px;
}
.gs-cycle-blue { background: var(--gs-blue); }
.gs-cycle-coral { background: var(--gs-coral); }
.gs-cycle-card h3 {
  font-size: clamp(33px, 4.1vw, 57px);
  line-height: .98;
  letter-spacing: -.066em;
}
.gs-cycle-card p { margin-top: 15px; max-width: 43ch; }
.gs-cycle-card .gs-cycle-parent { margin: 0 0 9px; font-size: 15px; font-weight: 700; }
.gs-cycle-art {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: min(29%, 154px);
  height: 121px;
  pointer-events: none;
}
.gs-cycle-art::before, .gs-cycle-art::after, .gs-cycle-art span {
  content: "";
  position: absolute;
  display: block;
}
.gs-cycle-art-blue::before {
  top: -49px;
  right: -27px;
  width: 137px;
  height: 137px;
  border-radius: 50%;
  background: var(--gs-chalk);
}
.gs-cycle-art-blue::after, .gs-cycle-art-blue span {
  width: 10px;
  border-radius: 20px;
  background: var(--gs-butter);
  transform: rotate(-22deg);
}
.gs-cycle-art-blue::after { height: 47px; top: 43px; right: 104px; }
.gs-cycle-art-blue span { height: 31px; top: 59px; right: 121px; }
.gs-cycle-art-coral::before {
  width: 140px;
  height: 70px;
  top: 15px;
  right: -18px;
  border-radius: 80px 80px 0 0;
  transform: rotate(28deg);
  background: var(--gs-sage);
}
.gs-cycle-art-coral::after {
  top: 30px;
  right: 123px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gs-chalk);
}

.gs-soon {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
  align-items: start;
  gap: clamp(24px, 6vw, 84px);
}
.gs-soon-list { border-top: 1px solid var(--gs-line); }
.gs-soon-row { padding-block: 18px; border-bottom: 1px solid var(--gs-line); }
.gs-soon-row h3 { font-size: clamp(24px, 2.55vw, 36px); line-height: 1.12; letter-spacing: -.047em; }
.gs-soon-row p { margin-top: 6px; max-width: 60ch; color: var(--gs-muted); }

.gs-footer { background: var(--gs-ink); color: var(--gs-chalk); }
.gs-footer-inner { padding-block: clamp(50px, 6.8vw, 91px) 22px; }
.gs-contact-main {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: end;
  gap: 25px 44px;
  padding-bottom: clamp(38px, 6vw, 82px);
}
.gs-contact-copy p { margin-top: 16px; max-width: 39ch; color: #e7e5df; }
.gs-contact-details a { text-decoration: none; }
.gs-contact-details a:hover { text-decoration: underline; text-underline-offset: .17em; }
.gs-phone { font-size: clamp(36px, 5.8vw, 76px); font-weight: 690; letter-spacing: -.065em; line-height: 1.03; }
.gs-email { margin-top: 10px; font-size: clamp(18px, 2.1vw, 27px); color: var(--gs-sage); }
.gs-footer-bar {
  border-top: 1px solid #656866;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.gs-footer-brand { min-height: 44px; }
.gs-footer-brand img { width: 147px; height: auto; }
.gs-social { display: flex; flex-wrap: wrap; gap: 0 clamp(15px, 3vw, 39px); }
.gs-social a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.gs-social a:hover { color: var(--gs-sage); }
.gs-standard { min-height: 45vh; }

@media (max-width: 850px) {
  .gs-hero { gap: 29px; }
  .gs-hero h1 { font-size: clamp(47px, 8vw, 72px); }
  .gs-about-inner { grid-template-columns: minmax(135px, .7fr) minmax(0, 1.6fr) 88px; gap: 25px; }
  .gs-offer-layout { gap: 32px; }
  .gs-cycle-card { min-height: 320px; }
}
@media (max-width: 670px) {
  html { scroll-padding-top: 116px; }
  .gs-header-inner { display: block; padding-top: 9px; min-height: 0; }
  .admin-bar .gs-header { top: 46px; }
  .gs-brand { min-height: 41px; }
  .gs-brand img { width: 138px; }
  .gs-nav { justify-content: space-between; gap: 3px; padding-bottom: 5px; }
  .gs-nav a { font-size: clamp(12px, 3.3vw, 15px); padding-inline: 2px; }
  .gs-nav .gs-nav-contact { min-width: 0; padding-inline: 10px; background: transparent; }
  .gs-nav .gs-nav-contact:hover { background: var(--gs-sage); }
  .gs-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 39px;
    padding-bottom: 52px;
    gap: 31px;
  }
  .gs-kicker { margin-bottom: 17px; }
  .gs-hero h1 { font-size: clamp(49px, 12.3vw, 84px); }
  .gs-lead { margin-top: 19px; }
  .gs-actions { margin-top: 22px; gap: 9px; }
  .gs-actions .wp-block-button__link { min-height: 47px; padding-inline: 13px; font-size: 14px; }
  .gs-hero-visual { padding: 0 10px 11px 0; }
  .gs-hero-visual::before { inset: 11px 0 0 10px; }
  .gs-hero-image { aspect-ratio: 1.16; }
  .gs-about-inner { grid-template-columns: 1fr 65px; gap: 10px 19px; padding-block: 32px; }
  .gs-about-text { grid-column: 1 / -1; grid-row: 2; }
  .gs-square-mark { grid-column: 2; grid-row: 1; }
  .gs-offer-layout, .gs-cycle-grid, .gs-soon, .gs-contact-main { grid-template-columns: minmax(0, 1fr); }
  .gs-cycle-card { min-height: 260px; }
  .gs-cycle-art { transform: scale(.64); transform-origin: top right; }
  .gs-format { max-width: none; }
  .gs-footer-bar { padding-top: 13px; }
}
@media (max-width: 600px) {
  .admin-bar .gs-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
