/* İletişim. Loaded only on /iletisim, on top of site.css; uses its tokens and motion families.
   Three compact sections: hero (type + vertical photograph), project brief (heading + underlined form)
   and the workshop on the sand band (map with the visit details). */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.contact-page{--cx-err:#9a5b3a}
.cx-h2{margin:0;font-weight:400;font-size:clamp(30px,2.9vw,48px);line-height:1.08;letter-spacing:-.045em}
.cx-h2>span{color:var(--sage)}

/* ——— Hero ——— */
.cx-hero{position:relative;margin:0 var(--gut);padding:clamp(48px,6vw,88px) 0 clamp(56px,6vw,88px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);align-items:center}
.cx-hero-text{grid-column:1/8}
.page h1.cx-title{margin:0 0 clamp(24px,2.4vw,36px);font-weight:400;font-size:clamp(48px,6.3vw,124px);line-height:.94;letter-spacing:-.068em}
.cx-lead{margin:0;max-width:27em;font-size:clamp(16px,1.2vw,19px);line-height:1.65;color:var(--muted)}
.cx-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 34px;margin-top:clamp(28px,2.8vw,40px)}
.cx-hero-text>.eyebrow,.cx-lead,.cx-actions{animation:riseIn 1.1s var(--ease) both}
.cx-lead{animation-delay:.35s}.cx-actions{animation-delay:.5s}
/* The drafting line between the type column and the photograph (start of column 9). */
.cx-hero:before{content:"";position:absolute;left:calc((100% - 11*var(--gap))/12*8 + 7.5*var(--gap));top:0;bottom:0;width:1px;background:linear-gradient(transparent,var(--line-strong) 40%,var(--line-strong) 80%,transparent);transform-origin:top;animation:cxGrow 1.8s var(--ease-out) .2s both}
.cx-hero-media{grid-column:9/13;margin:0}
.cx-photo{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--greige);animation:cxClip 1.5s var(--ease-out) .15s both}
.cx-photo img{width:100%;height:100%;object-fit:cover;object-position:62% 50%;animation:cxSettle 2.2s var(--ease-out) .15s both}

/* Actions: a dark slab with a sage sweep, and an underlined text link. */
.cx-cta{position:relative;display:inline-flex;align-items:center;gap:20px;min-height:56px;padding:0 24px 0 28px;background:var(--ink);color:var(--paper)!important;font-size:15px;letter-spacing:-.005em;overflow:hidden;isolation:isolate}
.cx-cta:before,.cx-submit:before{content:"";position:absolute;inset:0;z-index:-1;background:var(--sage);transform:scaleX(0);transform-origin:right;transition:transform .6s var(--ease-out)}
.cx-cta:hover:before,.cx-submit:hover:before{transform:scaleX(1);transform-origin:left}
.cx-link{position:relative;display:inline-flex;padding:10px 0;font-size:15px}
.cx-link:after{content:"";position:absolute;left:0;right:0;bottom:4px;height:1px;background:var(--sage);transform-origin:left;transition:transform .5s var(--ease-out)}
.cx-link:hover{color:var(--sage)}
.cx-link:hover:after{transform:scaleX(.35)}
.cx-arrow-box{position:relative;display:inline-block;width:18px;height:18px;flex:none;overflow:hidden}
.cx-arrow{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:square}
:is(.cx-cta,.cx-submit):hover .cx-arrow-up .cx-arrow{animation:cxOutUp .6s var(--ease-out)}
:is(.cx-cta,.cx-submit):hover .cx-arrow-down .cx-arrow{animation:cxOutDown .6s var(--ease-out)}

/* ——— Project brief ——— */
.cx-project{margin:0 var(--gut);padding:clamp(56px,5.6vw,88px) 0 clamp(72px,7vw,112px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap);align-items:start;border-top:1px solid var(--line)}
.cx-aside{grid-column:1/5;position:sticky;top:32px}
.cx-aside .body{margin-top:20px;max-width:24em}
.cx-form-wrap{grid-column:6/13;min-width:0}
.cx-form{position:relative}
.cx-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.cx-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,2.8vw,44px);row-gap:clamp(24px,2.2vw,32px)}
.cx-wide{grid-column:1/-1}
.cx-field{position:relative;min-width:0;margin:0;padding:0;border:0}
/* One label style for every field, the choice group and the upload. */
.cx-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%;padding:0;font-size:11px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--ink)}
.cx-label small{font-size:10px;font-weight:400;letter-spacing:.12em;color:var(--muted)}
.cx-field input:not([type=radio]):not([type=file]),.cx-field textarea{display:block;width:100%;margin:0;padding:10px 0 11px;border:0;border-bottom:1px solid var(--line-strong);border-radius:0;background:transparent;color:var(--ink);font:inherit;font-size:clamp(18px,1.35vw,20px);letter-spacing:-.015em;line-height:1.4;-webkit-appearance:none;appearance:none;transition:border-color .3s}
.cx-field textarea{min-height:96px;resize:vertical;line-height:1.55}
.cx-field ::placeholder{color:var(--soft);opacity:.8}
.cx-field input:hover,.cx-field textarea:hover{border-bottom-color:var(--soft)}
.page .cx-field input:focus-visible,.page .cx-field textarea:focus-visible{outline:none}
/* The underline is the focus state: it draws in from the left and stays while the field is active. */
.cx-field>i{display:block;height:2px;margin-top:-1.5px;background:var(--sage);transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease-out)}
.cx-field :is(input,textarea):focus+i{transform:none}
.cx-field.has-error :is(input,textarea){border-bottom-color:var(--cx-err)}
.cx-error{margin:0;font-size:13px;line-height:1.5;color:var(--cx-err)}
.cx-error:not(:empty){margin-top:8px}

.cx-type-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.cx-type{position:relative;cursor:pointer}
.cx-type input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.cx-type span{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 14px 0 12px;border:1px solid var(--line-strong);font-size:14px;letter-spacing:-.005em;transition:background .3s,color .3s,border-color .3s}
.cx-type span:before{content:"";width:7px;height:7px;flex:none;border:1px solid var(--soft);transition:background .3s,border-color .3s}
.cx-type:hover span{border-color:var(--ink)}
.cx-type input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.cx-type input:checked+span:before{background:var(--paper);border-color:var(--paper)}
.cx-type input:focus-visible+span{outline:2px solid var(--sage);outline-offset:3px}

.cx-drop{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 20px;margin-top:12px;padding:16px 20px;border:1px dashed var(--line-strong);cursor:pointer;transition:border-color .3s,background-color .3s}
.cx-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.cx-drop-main{font-size:16px;letter-spacing:-.01em}
.cx-drop-main em{font-style:normal;color:var(--muted)}
.cx-drop-hint{font-size:12.5px;color:var(--muted)}
.cx-drop:hover,.cx-drop.is-over{border-color:var(--sage);background-color:rgba(110,116,107,.05)}
.cx-drop:has(input:focus-visible){outline:2px solid var(--sage);outline-offset:4px}
.cx-files.has-error .cx-drop{border-color:var(--cx-err)}
.cx-file-list{list-style:none;margin:0;padding:0}
.cx-file-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}
.cx-file-list li:first-child{margin-top:8px}
.cx-file-list .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cx-file-list .size{font-size:12px;letter-spacing:.06em;color:var(--muted)}
.cx-file-list button{padding:8px 0;border:0;background:none;color:var(--muted);font:inherit;font-size:11px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.cx-file-list button:hover{color:var(--cx-err)}

.cx-alert{display:flex;flex-direction:column;gap:4px;margin:0 0 32px;padding:14px 18px;border-left:2px solid var(--cx-err);background:rgba(168,131,106,.09);font-size:15px;line-height:1.55}
.cx-alert b{font-weight:500}
.cx-submit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;margin-top:clamp(28px,2.8vw,40px)}
.cx-privacy{margin:0;max-width:30em;font-size:13px;line-height:1.6;color:var(--muted)}
.cx-submit{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-height:58px;padding:0 24px 0 30px;border:0;border-radius:0;background:var(--ink);color:var(--paper);font:inherit;font-size:15px;letter-spacing:-.005em;cursor:pointer;overflow:hidden;isolation:isolate}
.cx-submit [data-busy]{display:none}
.cx-submit.is-busy{cursor:progress}
.cx-submit.is-busy [data-idle]{display:none}
.cx-submit.is-busy [data-busy]{display:inline}
.cx-submit.is-busy:before{transform:scaleX(1);transform-origin:left;transition-duration:6s}

.cx-done{outline:none}
.cx-check{width:52px;height:52px;margin-bottom:26px;fill:none;stroke:var(--sage);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.cx-check circle{stroke-dasharray:189;stroke-dashoffset:189;animation:cxDraw 1.2s var(--ease-out) .1s forwards}
.cx-check path{stroke-dasharray:40;stroke-dashoffset:40;animation:cxDraw .7s var(--ease-out) .8s forwards}
.cx-done-title{margin-bottom:20px}
.cx-done-alt{margin:0 0 28px;font-size:15px;color:var(--muted)}
.cx-done-alt a{color:var(--ink)}

/* ——— Workshop ——— */
.cx-studio{margin:0 var(--gut);padding:clamp(56px,5.6vw,88px) 0 clamp(48px,4.8vw,72px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gap)}
.cx-studio-head{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:end}
.cx-studio-head .cx-h2{grid-column:1/6}
.cx-studio-head .body{grid-column:7/12;margin:0}
.cx-map{grid-column:1/-1;height:clamp(360px,28vw,420px);margin-top:clamp(32px,3.2vw,48px)}
.cx-map iframe{display:block;width:100%;height:100%;border:0}
.cx-studio.has-photo .cx-studio-photo{grid-column:1/6;margin:clamp(32px,3.2vw,48px) 0 0;height:clamp(360px,28vw,420px)}
.cx-studio-photo .frame{height:100%}
.cx-studio.has-photo .cx-map{grid-column:6/-1}
.cx-visit{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:center;padding-top:22px}
.cx-address{grid-column:1/5;font-style:normal;font-size:clamp(18px,1.4vw,22px);line-height:1.4;letter-spacing:-.02em}
.cx-visit-note{grid-column:5/9;margin:0;font-size:15px;line-height:1.65;color:var(--muted)}
.cx-route{grid-column:10/-1;justify-self:end}

/* Motion */
@keyframes cxClip{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0)}}
@keyframes cxSettle{from{transform:scale(1.1)}to{transform:none}}
@keyframes cxGrow{from{transform:scaleY(0)}to{transform:none}}
@keyframes cxDraw{to{stroke-dashoffset:0}}
@keyframes cxOutUp{0%{transform:none}45%{transform:translate(110%,-110%)}46%{transform:translate(-110%,110%)}100%{transform:none}}
@keyframes cxOutDown{0%{transform:none}45%{transform:translate(110%,110%)}46%{transform:translate(-110%,-110%)}100%{transform:none}}

/* Tablet: same composition, tighter columns. */
@media(max-width:1100px){
.cx-hero-media{grid-column:8/13}
.cx-hero:before{left:calc((100% - 11*var(--gap))/12*7 + 6.5*var(--gap))}
.cx-aside{grid-column:1/5}
.cx-form-wrap{grid-column:5/13}
.cx-fields{grid-template-columns:1fr}
.cx-submit-row{grid-template-columns:1fr;gap:20px}
.cx-submit{justify-self:start}
.cx-visit-note{grid-column:5/10}
.cx-route{grid-column:1/-1;justify-self:start;margin-top:20px}
}

/* Mobile: type first, a wide crop of the curve, a single-column form. */
@media(max-width:900px){
.cx-hero{display:block;padding:36px 0 0}
.cx-hero:before{display:none}
.page h1.cx-title{font-size:clamp(40px,10.6vw,64px);line-height:.96}
.cx-actions{gap:12px 26px;margin-top:26px}
.cx-hero-media{margin:36px calc(var(--gut)*-1) 0}
.cx-photo{aspect-ratio:5/4}
.cx-photo img{object-position:70% 62%}
.cx-project{display:block;padding:52px 0 64px;border-top:0}
.page .cx-project{background-image:none!important}
.cx-aside{position:static}
.cx-aside .body{margin-top:14px}
.cx-form-wrap{margin-top:32px}
.cx-field input:not([type=radio]):not([type=file]),.cx-field textarea{font-size:18px}
.cx-drop{display:flex;flex-direction:column;gap:4px;padding:16px 18px}
.cx-submit{width:100%}
.cx-studio{display:block;padding:52px 0 44px}
.cx-studio-head{display:block}
.cx-studio-head .body{margin-top:14px}
.cx-studio-photo{margin:32px calc(var(--gut)*-1) 0}
.cx-studio.has-photo .cx-studio-photo{height:auto}
.cx-studio-photo .frame{aspect-ratio:4/3;height:auto}
.cx-map{height:min(360px,88vw);margin:28px calc(var(--gut)*-1) 0}
.cx-studio.has-photo .cx-map{margin-top:var(--gap)}
.cx-visit{display:block;padding-top:20px}
.cx-visit-note{margin-top:10px}
.cx-route{display:flex;justify-content:space-between;width:100%;margin-top:22px}
}
/* Portrait tablets: a wider, lower crop keeps the curve in frame instead of a screen-tall photograph. */
@media(min-width:601px) and (max-width:900px){
.cx-photo{aspect-ratio:16/9}
.cx-photo img{object-position:70% 78%}
}
@media(prefers-reduced-motion:reduce){
.cx-hero-text>.eyebrow,.cx-lead,.cx-actions,.cx-photo,.cx-photo img,.cx-hero:before{animation:none!important}
.cx-check circle,.cx-check path{stroke-dashoffset:0}
}
