/*
Theme Name: ICONIC Studio Theme
Theme URI: https://iconicstudio.ee
Author: OpenAI
Description: Minimal front page theme for ICONIC Studio.
Version: 1.0.0
Text Domain: iconstudio-theme
*/

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6d6d6d;
  --line: #eaeaea;
  --button-bg: #111111;
  --button-text: #ffffff;
  --button-bg-hover: #2a2a2a;
  --max-width: 1320px;
  --gutter: clamp(20px, 3vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
button:hover, .button:hover {
  background: var(--button-bg-hover);
  transform: translateY(-1px);
}
.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.site-header {
  padding: 26px var(--gutter) 20px;
}
.site-header__inner,
.site-footer__inner,
.hero {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}
.site-header__inner {
  display: flex;
  justify-content: center;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-logo img {
  width: clamp(128px, 15vw, 220px);
  height: auto;
}
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: clamp(18px, 2vw, 28px) var(--gutter) clamp(48px, 6vw, 88px);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 23px;
}
.hero__eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__title {
  margin: 0;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.hero__subtitle {
  margin: 0;
  max-width: 440px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--muted);
}
.hero__image-wrap {
  position: relative;
  width: 100%;
}
.hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px var(--gutter) 22px;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-footer__left,
.site-footer__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__logo {
  width: 78px;
  height: auto;
}
.site-footer__meta {
  font-size: 13px;
  color: var(--muted);
}
.site-footer__right {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.hero__services-link {
  display: inline-block;
  margin-top: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.hero__services-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 8px;
  }
  .hero__content { order: 2; }
  .hero__image-wrap { order: 1; }
  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
  }
}