/* Local variable font: genuine weights 100–1000; no synthesized weights. */
@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts/DM_Sans/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

/* Shared across the English page and any future approved locale. */
:root {
  --black: #000000;
  --white: #ffffff;
  --blue: #244bdb;
  --muted: #b6b6b6;
  --line-light: rgb(255 255 255 / 60%);
  --line-dark: rgb(0 0 0 / 45%);
  --gutter: clamp(24px, 5vw, 96px);
  --content-width: 1296px;
  --body-size: clamp(0.875rem, 1.65vw, 1.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: var(--body-size);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

#hero-heading,
#showreel-heading,
#practice-heading,
#about-heading,
#contact-heading {
  font-weight: 1000;
  letter-spacing: 0em;
}

/* Keep the two longer headings on their existing lines at narrower widths. */
#hero-heading {
  letter-spacing: -0.005em;
}

#about-heading {
  font-weight: 900;
  letter-spacing: -0.035em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

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

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: var(--white);
  color: var(--blue);
}

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--content-width));
  margin-inline: auto;
}

.accent {
  color: var(--blue);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  transform: translateY(-200%);
  background: var(--white);
  color: var(--black);
}

.skip-link:focus {
  transform: none;
}

.eyebrow,
.section-label {
  font-size: clamp(0.625rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  font-size: clamp(2.75rem, 6vw, 5.375rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 22px;
  letter-spacing: 0.18em;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-light);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: clamp(12px, 1.25vw, 18px) clamp(18px, 2.5vw, 36px);
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button-outline {
  border-color: var(--line-light);
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-light:focus-visible,
.button-outline:focus-visible {
  outline-color: var(--white);
}

.contact :focus-visible,
.site-footer :focus-visible,
.skip-link:focus-visible {
  outline-color: var(--blue);
}

@media (hover: hover) {
  .site-nav a:hover,
  .email-address:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }

  .button:hover {
    box-shadow: 0 0 0 1px currentColor;
  }
}

/* Header and navigation */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--black);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  min-height: clamp(72px, 7.2vw, 104px);
}

.brand {
  display: block;
  flex-shrink: 0;
  width: clamp(136px, 15.5vw, 224px);
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin-left: auto;
  font-size: clamp(0.875rem, 1.4vw, 1.25rem);
}

.site-nav a {
  padding-block: 12px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.3em;
  padding-left: clamp(20px, 2.5vw, 36px);
  border-left: 1px solid var(--line-light);
  font-size: clamp(0.875rem, 1.4vw, 1.25rem);
  line-height: 2;
  white-space: nowrap;
}

.language-selector [aria-current] {
  font-weight: 600;
}

.language-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  opacity: 0.65;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  padding-block: clamp(36px, 4.8vw, 70px) clamp(30px, 3.2vw, 46px);
  overflow: clip;
}

.hero-layout {
  display: grid;
  grid-template-columns: 36.5% 63.5%;
  align-items: end;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 120%;
}

.hero h1 {
  margin-block: clamp(24px, 2.4vw, 34px) clamp(20px, 2.3vw, 32px);
  font-size: clamp(3rem, 6.7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.hero-description {
  max-width: 32ch;
  padding-right: 12px;
  font-size: clamp(1rem, 1.8vw, 1.625rem);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(22px, 2.2vw, 32px);
}

.hero-actions .button {
  padding-inline: clamp(18px, 2.1vw, 30px);
}

.hero-art {
  width: calc(100% + var(--gutter));
  max-width: none;
}

/* Showreel */
.showreel {
  padding-top: clamp(22px, 2.3vw, 34px);
  padding-bottom: clamp(30px, 3vw, 44px);
  border-top: 1px solid var(--line-light);
}

.showreel .section-heading {
  margin-bottom: clamp(16px, 1.6vw, 24px);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.showreel-title {
  margin-top: 14px;
  font-size: clamp(1rem, 1.8vw, 1.625rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.showreel-description {
  margin-top: 8px;
  font-size: clamp(0.9375rem, 1.5vw, 1.375rem);
}

/* Practice and Tools */
.practice-band {
  padding-block: clamp(28px, 2.5vw, 36px) clamp(30px, 2.8vw, 40px);
  background: var(--blue);
}

.practice .section-heading {
  margin-bottom: clamp(24px, 2.6vw, 38px);
}

.practice-grid {
  display: grid;
  grid-template-columns: 44% 33% 23%;
}

.practice-item {
  min-width: 0;
}

.practice-item:not(:last-child) {
  padding-right: clamp(24px, 2.8vw, 40px);
}

.practice-item + .practice-item {
  padding-left: clamp(24px, 2.8vw, 40px);
  border-left: 1px solid var(--line-light);
}

.practice-item h3 {
  font-size: clamp(1.25rem, 2.35vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.practice-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.practice-primary h3 {
  font-size: clamp(1.5rem, 3.3vw, 3rem);
}

.focus-badge {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: clamp(0.75rem, 1.25vw, 1rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.practice-item p {
  margin-top: clamp(18px, 2vw, 28px);
  line-height: 1.5;
}

.practice-primary p {
  font-size: clamp(1rem, 2vw, 1.75rem);
  line-height: 1.4;
}

.tools {
  margin-top: clamp(26px, 2.3vw, 34px);
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--line-light);
}

.tools h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.9vw, 2.625rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tools-list li {
  padding-inline: clamp(16px, 2.4vw, 34px);
  border-left: 1px solid var(--line-light);
  line-height: 1.5;
  white-space: nowrap;
}

.tools-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.tools-list li:last-child {
  padding-right: 0;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  padding-block: clamp(40px, 4.5vw, 64px);
}

.statement-heading {
  margin-block: 28px 24px;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.about-story {
  padding-left: clamp(28px, 3.2vw, 46px);
  border-left: 1px solid var(--line-light);
}

.about-story p + p {
  margin-top: 24px;
}

/* Contact and footer */
.contact,
.site-footer {
  background: var(--white);
  color: var(--black);
}

.contact {
  padding-block: clamp(28px, 3.5vw, 50px) clamp(40px, 4.5vw, 64px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(30px, 4vw, 58px);
}

.contact .section-label::after {
  background: var(--line-dark);
}

.contact h2 {
  margin-top: 24px;
  font-size: clamp(3.5rem, 7.5vw, 6.75rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.contact-copy {
  padding-left: clamp(28px, 3.5vw, 50px);
  border-left: 1px solid var(--line-dark);
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px clamp(20px, 2.5vw, 36px);
  margin-top: 24px;
}

.contact-actions .button {
  min-width: clamp(124px, 14vw, 180px);
}

.email-address {
  padding-left: clamp(20px, 2.5vw, 36px);
  border-left: 1px solid var(--line-dark);
  font-size: clamp(1rem, 1.9vw, 1.625rem);
  letter-spacing: -0.03em;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(24px, 2.5vw, 36px) clamp(32px, 4vw, 58px);
  border-top: 1px solid var(--line-dark);
}

.site-footer .brand {
  /* The SVG's 322.8:50 ratio gives a logo height of 1em. */
  width: 6.456em;
}

.site-footer .brand,
.site-footer p {
  font-size: clamp(0.75rem, 1.3vw, 1.125rem);
}

.copyright-name {
  white-space: nowrap;
}

/* Intermediate widths: keep the tools readable without crowding. */
@media (min-width: 761px) and (max-width: 1100px) {
  .tools-list li {
    padding-inline: 14px;
  }

  .practice-title-row {
    gap: 12px;
  }

  .focus-badge {
    padding-inline: 12px;
  }

  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .contact-actions {
    gap: 16px;
  }

  .email-address {
    padding-left: 16px;
  }
}

/* Tablet-only polish; preserve the approved desktop and mobile compositions. */
@media (min-width: 761px) and (max-width: 1000px) {
  .hero-layout {
    grid-template-columns: 44% 56%;
  }

  .hero-copy {
    width: 100%;
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practice-primary {
    grid-column: 1 / -1;
  }

  .practice-primary:not(:last-child) {
    padding-right: 0;
  }

  .practice-item + .practice-item {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line-light);
  }

  .practice-item:nth-child(2) {
    padding-left: 0;
    border-left: 0;
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .email-address {
    padding-left: 0;
    border-left: 0;
  }
}

/* Mobile composition, not a scaled-down desktop. */
@media (max-width: 760px) {
  :root {
    --gutter: 24px;
    --body-size: 1rem;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0 18px;
    min-height: 88px;
    padding-block: 20px;
  }

  .brand {
    width: 128px;
  }

  .language-selector {
    margin-left: auto;
    padding: 0;
    border: 0;
    font-size: 0.8125rem;
  }

  .language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .menu-toggle:not([hidden]) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-right: -8px;
    padding: 8px;
    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 27px;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-nav {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 16px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--line-light);
    font-size: 1.125rem;
  }

  /* Without JS, the links remain visible and usable. */
  .site-nav[hidden] {
    display: none;
  }

  .site-nav a {
    padding-block: 14px;
  }

  .hero {
    padding-block: 22px 26px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    width: auto;
  }

  .eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.11em;
  }

  .hero h1 {
    margin-block: 20px;
    font-size: clamp(2.375rem, 11.8vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .hero-description {
    max-width: 36ch;
    padding-right: 0;
    font-size: 1.0625rem;
    line-height: 1.4;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 14px;
    margin-top: 22px;
  }

  .hero-actions .button {
    padding: 13px 10px;
    font-size: 0.875rem;
  }

  .hero-art {
    width: calc(100% + var(--gutter) * 2);
    margin-top: 24px;
    margin-left: calc(var(--gutter) * -1);
    /* Balance the letterforms' 78-unit leading space within the 643-unit SVG. */
    transform: scale(0.88) translateX(-6.065%);
    transform-origin: center bottom;
  }

  .section-heading {
    font-size: clamp(2.5rem, 11.5vw, 3.5rem);
  }

  .showreel {
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .showreel-title {
    font-size: 1.0625rem;
  }

  .showreel-description {
    font-size: 1rem;
    line-height: 1.4;
  }

  .practice-band {
    padding-block: 24px 28px;
  }

  .practice .section-heading {
    margin-bottom: 20px;
  }

  .practice-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .practice-item + .practice-item {
    margin: 26px 0 0;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .practice-item:not(:last-child) {
    padding-right: 0;
  }

  .practice-item h3,
  .practice-primary h3 {
    font-size: clamp(1.375rem, 6.4vw, 1.75rem);
    letter-spacing: -0.04em;
  }

  .practice-title-row {
    gap: 12px 16px;
  }

  .focus-badge {
    padding: 7px 13px;
    font-size: 0.6875rem;
  }

  .practice-item p,
  .practice-primary p {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .tools {
    margin-top: 22px;
    padding-top: 18px;
  }

  .tools h2 {
    margin-bottom: 14px;
    font-size: 1.5rem;
  }

  .tools-list {
    justify-content: flex-start;
    gap: 6px 0;
  }

  .tools-list li {
    padding-inline: 20px 0;
    font-size: 0.9375rem;
  }

  .tools-list li:nth-child(odd) {
    min-width: 50%;
    padding-inline: 0 20px;
    border-left: 0;
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 34px;
  }

  .section-label {
    font-size: 0.6875rem;
    gap: 16px;
  }

  .statement-heading {
    margin-block: 20px 18px;
    font-size: clamp(2rem, 10.2vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
  }

  .about-story {
    padding: 0;
    border: 0;
  }

  .about-story p + p {
    margin-top: 20px;
  }

  .contact {
    padding-block: 26px 34px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .contact h2 {
    margin-top: 16px;
    font-size: clamp(3rem, 13vw, 4rem);
  }

  .contact-copy {
    padding: 0;
    border: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .contact-actions {
    flex-wrap: nowrap;
    gap: 18px;
    margin-top: 18px;
  }

  .contact-actions .button {
    min-width: 108px;
    padding-inline: 18px;
  }

  .email-address {
    padding-left: 18px;
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .footer-inner {
    gap: 16px;
    padding-block: 20px 30px;
  }

  .site-footer .brand,
  .site-footer p {
    font-size: 0.75rem;
  }

  .site-footer p {
    text-align: right;
  }
}

@media (max-width: 400px) {
  html[lang="tr"] .contact-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  html[lang="tr"] .contact-actions .button {
    flex-shrink: 0;
    white-space: nowrap;
  }

  html[lang="tr"] .email-address {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 359px) {
  .header-inner {
    gap: 0 10px;
  }

  .brand {
    width: 116px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    font-size: 0.75rem;
  }

  .tools-list {
    flex-direction: column;
  }

  .tools-list li,
  .tools-list li:nth-child(odd) {
    padding: 0;
    border: 0;
  }

  .contact-actions {
    flex-wrap: wrap;
    gap: 16px;
  }

  .email-address {
    padding: 0;
    border: 0;
  }

  .footer-inner {
    flex-wrap: wrap;
  }
}

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


/* Fixed outlines from the approved DM Sans weights. Separate families avoid
   variable-font weight selection on affected mobile renderers. OFL.txt applies. */
@font-face {
  font-family: "Memotion Mobile Heavy";
  src: url("../assets/fonts/DM_Sans/Memotion-Mobile-Heavy-20261025.woff2") format("woff2");
  font-style: normal;
  font-weight: 1000;
  font-display: swap;
}

@font-face {
  font-family: "Memotion Mobile Black";
  src: url("../assets/fonts/DM_Sans/Memotion-Mobile-Black-20261025.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@media (max-width: 760px) {
  #hero-heading,
  #showreel-heading,
  #practice-heading,
  #contact-heading {
    font-family: "Memotion Mobile Heavy", "DM Sans", sans-serif;
  }

  #about-heading {
    font-family: "Memotion Mobile Black", "DM Sans", sans-serif;
  }
}
