@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+Georgian:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light dark;
  --page: #f1ebdf;
  --surface: #e4dac8;
  --surface-strong: #d2c4ae;
  --ink: #222820;
  --muted: #66685f;
  --line: #b6a993;
  --accent: #1f4434;
  --accent-hover: #17392d;
  --on-accent: #f5efe4;
  --radius: 2px;
  --content: min(100% - 48px, 1380px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #17201b;
    --surface: #222c25;
    --surface-strong: #2e3b31;
    --ink: #eee8dc;
    --muted: #b7b8ad;
    --line: #4a584d;
    --accent: #8bb698;
    --accent-hover: #a7c0ad;
    --on-accent: #18221b;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Noto Serif Georgian", sans-serif;
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--page);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: var(--content);
  height: 72px;
  margin: 0 auto;
  display: flex;
  background: var(--page);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  gap: 0.32em;
  font-family: "Noto Serif Georgian", sans-serif;
  font-size: 1.15rem;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.035em;
}

.wordmark span:last-child {
  color: var(--muted);
  font-weight: 420;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.site-nav .nav-resume {
  padding: 7px 13px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.site-nav .nav-resume:hover {
  border-color: var(--accent);
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

.hero {
  width: var(--content);
  min-height: calc(100dvh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: center;
  padding: clamp(40px, 6vh, 72px) 0;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 30px;
  font-size: clamp(3.6rem, 6.3vw, 6.8rem);
}

.hero-deck {
  max-width: 530px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: color 220ms var(--ease), background-color 220ms var(--ease), transform 220ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.text-link {
  width: fit-content;
  font-weight: 600;
  transition: color 180ms ease;
}

.text-link:hover {
  color: var(--accent);
}

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  margin: 0 0 0 auto;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 7% -9% -7% 13%;
  content: "";
  background: var(--surface-strong);
}

.hero-visual img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.focus-strip {
  width: var(--content);
  margin: 0 auto;
  padding: 30px 0 34px;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) 1.35fr;
  gap: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-strip p {
  max-width: 32ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  font-family: "Noto Serif Georgian", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.2;
}

.work-section,
.interests-section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 180px) 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.section-heading p,
.about-copy > p {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 74px) clamp(22px, 3.5vw, 52px);
  align-items: start;
}

.work-card {
  display: grid;
  gap: 24px;
}

.work-card-lead {
  grid-column: 1 / span 7;
}

.work-card-tall {
  grid-column: 9 / span 4;
  margin-top: 150px;
}

.work-card-wide {
  grid-column: 2 / span 4;
  margin-top: 56px;
}

.work-card-compact {
  grid-column: 7 / span 6;
}

.work-card-feature {
  grid-column: 3 / span 8;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  margin-top: 40px;
}

.work-image {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
}

.work-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.work-card-tall .work-image img,
.work-card-wide .work-image img {
  aspect-ratio: 3 / 4;
}

.work-card-feature .work-image img {
  aspect-ratio: 4 / 5;
}

.work-image:hover img {
  transform: scale(1.025);
  filter: contrast(1.06);
}

.work-copy {
  max-width: 570px;
}

.work-meta {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.work-copy h3 {
  margin-bottom: 13px;
  font-size: clamp(1.7rem, 2.6vw, 3rem);
  line-height: 1.05;
}

.work-copy h3 a {
  text-decoration: none;
}

.work-copy h3 a:hover {
  color: var(--accent);
}

.work-copy > p:not(.work-meta) {
  max-width: 50ch;
  margin-bottom: 18px;
  color: var(--muted);
}

.about-section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 180px) 0;
}

.about-copy {
  display: flex;
  max-width: 900px;
  flex-direction: column;
  align-items: flex-start;
}

.about-copy h2 {
  max-width: 12ch;
}

.about-copy > p {
  margin-bottom: 18px;
}

.interest-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.interest {
  min-height: 340px;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  background: var(--surface);
}

.interest-guitar {
  background-image: repeating-linear-gradient(100deg, transparent 0 28px, color-mix(in srgb, var(--line) 40%, transparent) 29px 30px);
}

.interest-games {
  min-height: 440px;
  background: var(--ink);
  color: var(--page);
}

.interest-media {
  background: var(--surface-strong);
}

.interest-name {
  font-family: "Noto Serif Georgian", sans-serif;
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1;
}

.interest > p:last-child {
  max-width: 35ch;
  margin-bottom: 0;
}

.contact-section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(100px, 15vw, 210px) 0;
  border-top: 1px solid var(--line);
}

.contact-section > p {
  margin-bottom: 16px;
  color: var(--muted);
}

.contact-section h2 {
  max-width: 11ch;
  margin-bottom: 34px;
}

.site-footer {
  width: var(--content);
  margin: 0 auto;
  padding: 26px 0 34px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer div {
  display: flex;
  gap: 24px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-reveal {
    animation: hero-enter 850ms var(--ease) both;
  }

  .hero-copy .hero-reveal:nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-copy .hero-reveal:nth-child(3) {
    animation-delay: 150ms;
  }

  .hero-copy .hero-reveal:nth-child(4) {
    animation-delay: 220ms;
  }

  .hero-visual.hero-reveal {
    animation-delay: 120ms;
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 32px, 1380px);
  }

  .hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 8vw, 5.2rem);
  }

  .work-card-tall {
    grid-column: 8 / span 5;
  }

  .work-card-feature {
    grid-column: 2 / span 10;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    position: relative;
  }

  .menu-button {
    display: block;
    padding: 8px 0 8px 12px;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    z-index: 10;
    top: 71px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 0 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    background: var(--page);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .nav-resume {
    padding: 7px 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0 44px;
  }

  .hero h1 {
    max-width: 9ch;
    margin-bottom: 22px;
    font-size: clamp(3.4rem, 15vw, 5.2rem);
  }

  .hero-deck {
    max-width: 35ch;
    margin-bottom: 24px;
  }

  .hero-visual {
    width: 62%;
    height: 176px;
    margin-right: 5%;
    overflow: hidden;
  }

  .hero-visual::before {
    inset: 7% -7% -6% 12%;
  }

  .hero-visual img {
    height: 100%;
    object-position: center 42%;
  }

  .focus-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .focus-list {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .work-section,
  .interests-section {
    padding: 92px 0;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .work-card-lead,
  .work-card-tall,
  .work-card-wide,
  .work-card-compact,
  .work-card-feature {
    grid-column: auto;
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .work-card:nth-child(even) {
    width: 88%;
    margin-left: auto;
  }

  .work-image img,
  .work-card-tall .work-image img,
  .work-card-wide .work-image img,
  .work-card-feature .work-image img {
    aspect-ratio: 4 / 3;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .interest,
  .interest-games {
    min-height: 300px;
  }

  .contact-section .button {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .site-footer {
    gap: 18px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-visual,
  .contact-section,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }
}


/* Communications and Service refresh */
.supporting-section {
  width: var(--content);
  margin: 0 auto;
  padding: 0 0 clamp(100px, 13vw, 180px);
  border-top: 1px solid var(--line);
}
.supporting-section .section-heading { padding-top: clamp(100px, 13vw, 180px); }
.supporting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.supporting-item { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; gap: 20px; padding: clamp(28px, 4vw, 52px); background: var(--surface); text-decoration: none; }
.supporting-item:hover { background: var(--surface-strong); }
.supporting-item strong { max-width: 16ch; font-family: "Noto Serif Georgian", sans-serif; font-size: clamp(1.5rem, 2.4vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.05; }
.supporting-item > span:last-child { color: var(--muted); font-weight: 600; }
.service-section { width: var(--content); margin: 0 auto; padding: clamp(100px, 13vw, 180px) 0; border-top: 1px solid var(--line); }
.service-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 7vw, 120px); padding: clamp(40px, 6vw, 80px); background: var(--accent); color: var(--on-accent); }
.service-panel .work-meta { color: color-mix(in srgb, var(--on-accent) 72%, var(--accent)); }
.service-panel h3 { max-width: 11ch; margin-top: 18px; font-size: clamp(2.4rem, 4.6vw, 5rem); }
.service-panel > div:last-child > p { max-width: 48ch; font-size: 1.1rem; }
.service-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--on-accent) 35%, transparent); }
.service-details strong { display: block; font-family: "Noto Serif Georgian", sans-serif; font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 500; line-height: 1; }
.service-details span { display: block; margin-top: 8px; opacity: .82; }
.service-panel .text-link { display: inline-block; margin-top: 28px; }
.service-panel .text-link:hover { color: var(--surface); }
.contact-links { display: flex; align-items: center; gap: 26px; }
.contact-links .button { margin-top: 0; }
@media (max-width: 767px) {
  .supporting-grid, .service-panel, .service-details { grid-template-columns: 1fr; }
  .service-panel { padding: 32px 24px; }
  .contact-links { align-items: flex-start; flex-direction: column; gap: 20px; }
}


.work-image-placeholder {
  align-items: flex-end;
  padding: 28px;
  background: linear-gradient(135deg, var(--surface-strong), var(--accent));
  color: var(--on-accent);
}
.work-image-placeholder span {
  font-family: "Noto Serif Georgian", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}


/* Resume content structure */
.methods-section {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 180px) 0;
  border-top: 1px solid var(--line);
}
.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.method-card {
  min-height: 250px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--surface);
}
.method-card strong {
  display: block;
  margin-bottom: 18px;
  font-family: "Noto Serif Georgian", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.method-card p {
  max-width: 30ch;
  margin-bottom: 0;
  color: var(--muted);
}
@media (max-width: 767px) {
  .methods-grid { grid-template-columns: 1fr; }
  .method-card { min-height: 0; }
}


/* Editorial Interests grid */
.interests-section .section-heading { max-width: 760px; }
.interests-kicker { margin-bottom: 18px !important; color: var(--accent) !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.interests-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.interest-card { min-height: 285px; padding: clamp(28px, 4vw, 44px); background: var(--surface); }
.interest-card h3 { margin-bottom: 18px; font-size: clamp(1.7rem, 2.8vw, 3rem); }
.interest-card p { max-width: 58ch; margin-bottom: 0; color: var(--muted); }
.interest-card-feature { grid-column: span 2; min-height: 330px; background: var(--accent); }
.interest-card-feature h3,
.interest-card-feature p { color: var(--on-accent); }
@media (max-width: 767px) {
  .interests-grid { grid-template-columns: 1fr; }
  .interest-card-feature { grid-column: auto; }
}
