/* WinterChess — homepage concept
   Palette: deep navy, Mediterranean cyan, white, soft warm gray. */
:root {
  --navy: #4b3528;
  --navy-2: #654a37;
  --blue: #806047;
  --cyan: #b08a65;
  --ink: #3d2d22;
  --muted: #827365;
  --line: #e7ddd2;
  --paper: #f8f4ef;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(75, 53, 40, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.topline { background: var(--navy); color: #e5d6c6; font-size: 12px; letter-spacing: .04em; }
.topline-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.language { display: flex; gap: 9px; align-items: center; }
.language a { opacity: .7; }
.language a.active { color: #fff; opacity: 1; font-weight: 700; }
.site-header { background: #fff; position: relative; z-index: 10; border-bottom: 1px solid rgba(8, 40, 72, .06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--navy); }
 .brand-logo { display: block; width: 226px; height: auto; object-fit: contain; }
.brand-logo-footer { width: 205px; filter: brightness(0) invert(1); opacity: .94; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 27px); font-size: 13px; font-weight: 600; color: #6a5542; }
.main-nav a { padding: 10px 0; transition: color .2s; }
.main-nav a:hover, .main-nav a.current { color: var(--blue); }
.main-nav a.current { box-shadow: inset 0 -2px var(--cyan); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
.nav-cta span { font-size: 16px; }
.menu-toggle { display: none; border: 0; background: none; color: var(--navy); font-size: 25px; cursor: pointer; }

/* Hero */
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .18em; color: #c4a17a; margin-bottom: 19px; display: flex; align-items: center; gap: 10px; }
.eyebrow span { display: block; width: 24px; height: 2px; background: var(--cyan); }
h2 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.035em; }
h2 em { color: #c4a17a; font-style: normal; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 8px; padding: 14px 19px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: var(--navy); }
.button-primary:hover { background: #66d5e8; }
.button-ghost { border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.04); }
.button span { font-size: 18px; }

/* Sections */
.section { padding: 92px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.eyebrow.dark { color: var(--blue); margin-bottom: 11px; }
h2 { font-size: clamp(34px, 4vw, 47px); line-height: 1.1; color: var(--navy); margin: 0; }
h2 em { color: var(--blue); }
.text-link { display: inline-flex; gap: 13px; align-items: center; color: var(--blue); font-size: 13px; font-weight: 700; white-space: nowrap; padding-bottom: 7px; }
.text-link span { font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.featured-section { background: #fff; }
.featured-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 22px; align-items: stretch; }
.event-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 4px 16px rgba(10, 45, 75, .04); transition: transform .25s, box-shadow .25s; }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.event-large { border-color: #c8e6ed; }
.event-image { min-height: 205px; position: relative; background-size: cover; background-position: center; }
.event-large .event-image { min-height: 235px; }
.image-school { background-image: url("https://images.unsplash.com/photo-1528819622765-d6bcf132f793?auto=format&fit=crop&w=900&q=80"); }
.image-danone { background-image: url("https://images.unsplash.com/photo-1559305616-3f9b6e7f7d16?auto=format&fit=crop&w=900&q=80"); background-position: center; }
.image-christmas { background-image: url("https://images.unsplash.com/photo-1512389142860-9c449e58a543?auto=format&fit=crop&w=900&q=80"); }
.image-tag { position: absolute; left: 17px; top: 17px; padding: 7px 10px; background: rgba(7, 43, 77, .85); color: white; border-radius: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.event-body { padding: 20px 21px 22px; }
.event-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--blue); }
.status { border-radius: 100px; background: #f0e7db; color: #73543a; padding: 5px 8px; letter-spacing: 0; font-size: 9px; }
.event-body h3 { font-family: "Playfair Display", Georgia, serif; font-size: 22px; color: var(--navy); margin: 13px 0 8px; line-height: 1.2; }
.event-body p { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.card-link { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; color: var(--blue); font-size: 11px; font-weight: 700; }
.card-link span { font-size: 16px; }

/* Upcoming calendar */
.calendar-section { background: var(--paper); padding: 70px 0; }
.calendar-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; padding: 44px 48px; border-radius: 18px; background: #fff; border: 1px solid #e6edf2; }
.calendar-title { align-self: center; }
.calendar-title h2 { margin-bottom: 14px; }
.calendar-title p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 25px; }
.calendar-title .button { font-size: 11px; padding: 12px 14px; }
.calendar-list { border-left: 1px solid var(--line); padding-left: 32px; }
.calendar-row { display: grid; grid-template-columns: 54px 1fr 22px; align-items: center; gap: 17px; padding: 13px 0; border-bottom: 1px solid #edf1f4; transition: transform .2s; }
.calendar-row:last-child { border-bottom: 0; }
.calendar-row:hover { transform: translateX(4px); }
.date-box { width: 49px; height: 53px; border-radius: 7px; background: #f1e8df; color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-box b { font-family: "Playfair Display", Georgia, serif; font-size: 22px; line-height: 1; }
.date-box small { font-size: 9px; letter-spacing: .1em; font-weight: 700; margin-top: 5px; }
.calendar-info { display: flex; flex-direction: column; gap: 5px; }
.calendar-info b { font-size: 13px; color: var(--navy); }
.calendar-info small { font-size: 11px; color: var(--muted); }
.calendar-row .arrow { color: var(--blue); font-size: 19px; }

/* News */
.news-section { padding-bottom: 100px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: box-shadow .2s, transform .2s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-image { display: block; height: 190px; background-size: cover; background-position: center; }
.news-one { background-image: url("https://images.unsplash.com/photo-1560172028-4c3c7b2b2a76?auto=format&fit=crop&w=900&q=80"); }
.news-two { background-image: url("https://images.unsplash.com/photo-1529699211952-く?auto=format&fit=crop&w=900&q=80"); background-image: url("https://images.unsplash.com/photo-1586165368502-1bad197a6461?auto=format&fit=crop&w=900&q=80"); }
.news-three { background-image: url("https://images.unsplash.com/photo-1533105079780-92b9be482077?auto=format&fit=crop&w=900&q=80"); }
.news-content { padding: 22px; }
.news-date { color: var(--blue); font-size: 9px; letter-spacing: .1em; font-weight: 700; }
.news-content h3 { font-family: "Playfair Display", Georgia, serif; color: var(--navy); font-size: 19px; line-height: 1.35; margin: 12px 0 20px; min-height: 76px; }
.news-content a { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; font-size: 11px; font-weight: 700; color: var(--blue); }

/* History */
.history-section { padding: 82px 0 92px; background: var(--navy); color: white; }
.history-heading h2 { color: #fff; }
.history-heading h2 em { color: #c4a17a; }
.light-link { color: #7bd5e8; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; position: relative; margin-top: 45px; }
.timeline::before { content: ""; position: absolute; height: 1px; background: rgba(116, 203, 226, .38); top: 145px; left: 10%; right: 10%; }
.milestone { position: relative; }
.milestone-image { height: 135px; border-radius: 8px; background-size: cover; background-position: center; margin-bottom: 23px; border: 1px solid rgba(255,255,255,.12); }
.history-one { background-image: url("https://images.unsplash.com/photo-1528819622765-d6bcf132f793?auto=format&fit=crop&w=600&q=80"); filter: grayscale(1); }
.history-two { background-image: url("https://images.unsplash.com/photo-1560172028-4c3c7b2b2a76?auto=format&fit=crop&w=600&q=80"); }
.history-three { background-image: url("https://images.unsplash.com/photo-150 sailing?auto=format&fit=crop&w=600&q=80"); background-image: url("https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=600&q=80"); }
.history-four { background-image: url("https://images.unsplash.com/photo-1586165368502-1bad197a6461?auto=format&fit=crop&w=600&q=80"); }
.year { display: flex; align-items: center; gap: 9px; color: #c4a17a; font-size: 12px; letter-spacing: .1em; font-weight: 800; }
.year::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px var(--navy); }
.milestone h3 { font-family: "Playfair Display", Georgia, serif; font-size: 19px; margin: 11px 0 8px; color: #fff; }
.milestone p { color: #b7cbdc; font-size: 11px; line-height: 1.6; margin: 0; max-width: 230px; }

/* Closing CTA */
.closing-cta { padding: 58px 0; background: #f3ebe2; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing-cta h2 { font-size: clamp(30px, 3.5vw, 42px); }
.closing-cta h2 em { color: var(--blue); }
.button-light { background: #fff; color: var(--navy); border: 1px solid #e0cdb9; box-shadow: 0 5px 15px rgba(9, 53, 83, .06); }

/* Footer */
.site-footer { background: #2e2118; color: #d3e1ec; }
.footer-main { display: grid; grid-template-columns: 1.4fr .7fr 1.2fr .7fr; gap: 40px; padding: 60px 0 50px; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { color: #c4a17a; }
.brand-footer .brand-name { font-size: 25px; }
.footer-brand p { color: #c5b29e; font-size: 12px; line-height: 1.8; margin-top: 18px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 11px; }
.footer-column h4 { font-size: 9px; letter-spacing: .15em; color: #c4a17a; margin: 5px 0 10px; }
.footer-column > a { color: #d7c8b8; transition: color .2s; }
.footer-column > a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #6a5140; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 700; }
.footer-small { color: #a89581; font-size: 10px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); font-size: 10px; color: #a89581; }
.footer-bottom .container { display: flex; justify-content: space-between; padding: 17px 0; }
.footer-bottom a { margin-left: 20px; }

/* Responsive */
@media (max-width: 1050px) {
  .nav-wrap { gap: 18px; }
  .brand-logo { width: 205px; }
  .main-nav { gap: 13px; font-size: 12px; }
  .nav-cta { padding: 11px 12px; font-size: 10px; }
  .calendar-panel { gap: 32px; padding: 38px 35px; }
}
@media (max-width: 820px) {
  .container { width: min(100% - 36px, 700px); }
  .nav-wrap { min-height: 74px; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 18px 25px 22px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 14px 20px rgba(7,35,64,.1); flex-direction: column; align-items: stretch; gap: 3px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .event-large { grid-column: span 2; }
  .event-large .event-image { min-height: 220px; }
  .calendar-panel { grid-template-columns: 1fr; gap: 28px; }
  .calendar-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:last-child { display: none; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .timeline::before { display: none; }
  .milestone-image { height: 160px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
}
@media (max-width: 520px) {
  .topline-inner { min-height: 30px; font-size: 10px; }
  .brand-logo { width: 190px; }
  .button { min-width: 210px; }
  .section { padding: 65px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 25px; }
  .featured-grid { grid-template-columns: 1fr; }
  .event-large { grid-column: auto; }
  .event-image, .event-large .event-image { min-height: 190px; }
  .calendar-section { padding: 45px 0; }
  .calendar-panel { padding: 27px 20px; }
  .calendar-row { grid-template-columns: 48px 1fr 18px; gap: 12px; }
  .date-box { width: 45px; height: 49px; }
  .calendar-info b { font-size: 12px; }
  .calendar-info small { font-size: 10px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card:last-child { display: block; }
  .news-image { height: 190px; }
  .news-content h3 { min-height: 0; }
  .history-section { padding: 65px 0; }
  .timeline { gap: 25px 14px; }
  .milestone-image { height: 115px; }
  .milestone h3 { font-size: 16px; }
  .milestone p { font-size: 10px; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 45px 0; }
  .footer-bottom .container { flex-direction: column; gap: 10px; }
  .footer-bottom a { margin-left: 0; margin-right: 17px; }
}
